:root{--paper:#faf8f3;--ink:#24271f;--muted:#76776d;--line:#e3e2d9;--accent:#d95530;--pale:#f3e5d8;--green:#49624e;--white:#fffefa;font-family:Arial,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:4px}a{color:inherit}button{border:0;background:none}input,textarea,select{width:100%;border:1px solid var(--line);border-radius:10px;padding:13px 15px;background:var(--white);color:var(--ink)}input:focus,textarea:focus,select:focus{outline:2px solid #d9553060;border-color:var(--accent)}textarea{resize:vertical;line-height:1.7}label{display:block;font-size:14px;font-weight:600}label input,label textarea,label select{margin-top:9px;font-weight:400}h1,h2,h3,p{margin:0}p{line-height:1.8}h1,h2,h3{letter-spacing:-.055em}h2{font-size:34px;line-height:1.35}h3{font-size:21px;line-height:1.45}.header{max-width:1280px;padding:26px 48px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{font-size:24px;font-weight:800;letter-spacing:-1.5px;display:flex;align-items:center;padding:0;gap:9px}.brand-dot{color:var(--accent);margin-left:-6px}.brand-mark{display:grid;place-items:center;background:var(--accent);color:var(--paper);width:31px;height:31px;border-radius:9px 9px 15px 9px;font-size:24px;font-style:italic;letter-spacing:-2px;padding-right:2px}nav{display:flex;gap:25px;align-items:center;font-size:13px}.nav-button{padding:8px 0}.nav-button span{font-size:11px;background:#eae9e1;display:inline-block;padding:3px 6px;border-radius:4px;margin-left:4px}.account{border:1px solid var(--line);border-radius:30px;padding:10px 18px}.account span{margin-left:12px}main:focus{outline:none}.summary{font-size:13.5px;color:var(--ink,#2a2724);margin:6px 0 10px;line-height:1.55}.scope{margin-top:10px;padding-top:10px;border-top:1px dashed var(--line, #e2ddd2);text-align:center}main{max-width:1184px;margin:auto;min-height:70vh;padding:0 0 70px}.hero{display:grid;grid-template-columns:1.05fr 1fr;gap:80px;padding:70px 0 62px;align-items:center}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--accent);font-weight:700;margin-bottom:22px;display:flex;align-items:center;gap:9px}.eyebrow:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--accent)}.hero h1{font-size:57px;line-height:1.25;letter-spacing:-3.5px;font-weight:750}.hero h1 em{color:var(--accent);font-style:normal;display:inline-block;position:relative}.hero h1 em:after{content:"";position:absolute;bottom:-5px;left:0;right:0;border-bottom:2px solid #d9553040;border-radius:50%;height:9px;transform:rotate(-2deg)}.hero-copy{margin:24px 0;color:var(--muted);font-size:15px;line-height:1.9}.micro{font-size:12px;color:var(--muted);line-height:1.7}.hero-proof{margin-top:28px;display:flex;align-items:center;gap:13px;font-size:12px;color:var(--muted)}.tiny-avatars{display:flex}.tiny-avatars span{display:grid;place-items:center;width:27px;height:27px;border:2px solid var(--paper);border-radius:50%;background:#e6cfb8;margin-left:-6px;font-size:12px;color:#514337}.tiny-avatars span:nth-child(2){background:#dce3d6}.tiny-avatars span:nth-child(3){background:#ebd9d3}.input-card{background:var(--white);border:1px solid var(--line);border-radius:20px;padding:30px;box-shadow:0 12px 40px #4b422009;position:relative}.input-card:before{content:"01 / YOUR INTEREST";font-size:10px;letter-spacing:1.6px;color:var(--muted);display:block;margin-bottom:20px}.input-card h2{font-size:24px;margin-bottom:6px}.input-card .sub{font-size:13px;color:var(--muted);margin-bottom:24px}.input-card textarea{min-height:112px;margin-top:10px;background:#fcfbf7}.chips{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0 23px}.chip{font-size:12px;border:1px solid var(--line);border-radius:30px;padding:7px 11px;background:var(--paper)}.chip:hover{border-color:var(--accent);color:var(--accent)}.goal-row{display:flex;gap:6px;margin:10px 0 26px}.goal-row label{flex:1;position:relative}.goal-row input{position:absolute;opacity:0;width:1px;height:1px}.goal-row span{display:block;text-align:center;font-size:12px;border:1px solid var(--line);border-radius:9px;padding:12px 5px;cursor:pointer;font-weight:400}.goal-row input:checked+span{background:#f4eee4;border-color:#c9b99d;font-weight:600}.goal-row input:focus-visible+span{outline:2px solid var(--accent)}.primary{display:flex;align-items:center;justify-content:space-between;gap:28px;background:var(--accent);color:white;border-radius:10px;padding:16px 20px;font-weight:600;font-size:14px;transition:background .2s}.primary:hover{background:#bd4321}.primary span{font-size:20px;font-weight:400}.full{width:100%}.card-bottom{font-size:11px;text-align:center;color:var(--muted);margin-top:13px}.how{border-top:1px solid var(--line);padding-top:27px}.section-label{font-size:10px;font-weight:600;letter-spacing:1.8px;color:var(--muted)}.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin-top:24px}.how-item{display:flex;gap:16px}.step-icon{flex:0 0 37px;height:37px;border-radius:12px;background:#eeece2;display:grid;place-items:center;color:#76694e;font-size:17px}.how-item h3{font-size:15px;letter-spacing:-.4px;margin-bottom:5px}.how-item p{font-size:12px;color:var(--muted)}.bottom-note{margin-top:35px;padding:17px 20px;border-radius:10px;background:#f0eee7;color:var(--muted);font-size:12px;display:flex;justify-content:space-between;gap:15px}footer{border-top:1px solid var(--line);max-width:1280px;margin:auto;padding:25px 48px;display:flex;gap:24px;align-items:center;color:var(--muted);font-size:11px}footer span:last-child{margin-left:auto;letter-spacing:1px;font-size:10px}.footer-brand{font-size:16px;color:var(--ink);font-weight:700}.page-top{padding-top:35px;display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.back,.text-button{font-size:13px;color:var(--muted);padding:7px 0}.back:hover,.text-button:hover{color:var(--accent)}.steps{display:flex;gap:10px;color:#949489;font-size:11px}.steps b{color:var(--accent);font-weight:600}.page-heading{margin:10px 0 30px}.page-heading h1{font-size:36px;letter-spacing:-1.8px;margin-bottom:12px}.page-heading p{color:var(--muted);font-size:14px}.interest-line{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:20px 0}.pill{display:inline-flex;border-radius:5px;padding:5px 8px;font-size:11px;background:#ecefe8;color:var(--green);line-height:1.4}.pill.method{background:#f4e8dc;color:#9b653a}.pill.neutral{background:#eeece5;color:#777365}.results-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.results-toolbar p{font-size:13px}.results-toolbar input{max-width:275px;font-size:13px}.labs-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.lab-card{background:var(--white);border:1px solid var(--line);border-radius:15px;padding:25px;display:flex;flex-direction:column}.lab-card:hover{border-color:#cfc7b4}.lab-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:11px;margin-bottom:15px}.lab-number{font-family:Georgia,serif;font-style:italic;font-size:20px;color:#bab6a7}.lab-card h3{font-size:21px;margin-bottom:9px}.professor{font-size:12px;color:var(--muted);margin-bottom:12px}.lab-card .reason{font-size:13px;line-height:1.85;margin:15px 0;color:#5a5d52}.lab-card .card-action{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:17px;margin-top:auto}.card-action a{font-size:12px;color:var(--muted)}.explore-button{color:var(--accent);font-size:13px;font-weight:600}.tag-list{display:flex;gap:6px;flex-wrap:wrap}.evidence{border-left:2px solid #d9d5c8;padding-left:12px;margin:12px 0;font-size:12px;color:#77796e;line-height:1.7;overflow-wrap:anywhere}.evidence p{font-size:12px;white-space:pre-line;max-height:170px;overflow:auto}.evidence a{font-size:11px;display:inline-block;margin:8px 9px 0 0;color:var(--green)}details{font-size:12px;margin:12px 0}summary{cursor:pointer;color:var(--muted);line-height:1.6}.empty{padding:65px 25px;text-align:center;background:#f1efe8;border-radius:15px}.empty h3{margin-bottom:10px}.empty p{color:var(--muted);font-size:14px;max-width:600px;margin:0 auto 15px}.notice{background:#f0eee5;border-radius:9px;padding:13px 17px;font-size:12px;color:#747261;line-height:1.8;margin:18px 0}.detail-layout{display:grid;grid-template-columns:285px 1fr;gap:35px}.lab-sidebar{align-self:start;position:sticky;top:25px;border:1px solid var(--line);border-radius:14px;background:var(--white);padding:23px}.lab-sidebar h2{font-size:25px;margin:15px 0 10px}.lab-sidebar .small-link{font-size:12px;color:var(--green);display:inline-block;margin:15px 0}.lab-sidebar details{border-top:1px solid var(--line);padding-top:12px}.detail-main h2{font-size:26px;margin-bottom:10px}.detail-main>.sub{color:var(--muted);font-size:13px;margin-bottom:23px}.selection-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:12px}.selection-head input{font-size:13px;max-width:340px}.selection-count{font-size:13px;color:var(--accent);white-space:nowrap}.course-list{border:1px solid var(--line);border-radius:12px;background:var(--white);max-height:570px;overflow:auto}.course-item{padding:18px 20px;border-bottom:1px solid var(--line)}.course-item:last-child{border-bottom:0}.course-item>label{display:flex;gap:13px;align-items:flex-start;cursor:pointer}.course-item input[type=checkbox]{width:17px;height:17px;flex:0 0 17px;margin:3px 0 0;accent-color:var(--accent)}.course-name{font-size:14px;font-weight:600}.course-code{font-size:10px;color:var(--muted);margin-left:8px;font-weight:400;letter-spacing:.2px}.course-reason{font-size:12px;color:var(--muted);font-weight:400;margin-top:6px;line-height:1.7}.course-item details{margin-left:30px}.selection-actions{margin-top:18px;display:flex;justify-content:space-between;align-items:center;gap:20px}.selection-actions p{font-size:11px;color:var(--muted)}.guide{margin-top:38px;padding-top:32px;border-top:1px solid var(--line)}.guide-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:24px}.guide-column>h3{font-size:17px;margin-bottom:14px;display:flex;gap:8px;align-items:center}.guide-column>h3 span{background:#e4e9df;color:var(--green);border-radius:50%;padding:5px 8px;font-size:11px}.guide-column:last-child>h3 span{background:var(--pale);color:var(--accent)}.topic-card{padding:20px;border:1px solid var(--line);border-radius:12px;margin-bottom:13px;background:var(--white)}.topic-card h4{font-size:15px;margin:10px 0;line-height:1.6;letter-spacing:-.3px}.topic-card p,.topic-card li{font-size:12px;color:#727367;line-height:1.9}.topic-card ol{padding-left:18px}.topic-card .course-mini{margin-top:10px}.save-panel{padding:25px;border:1px solid #d4c9b5;border-radius:14px;background:#f4f0e6;margin-top:25px}.save-panel h3{font-size:19px;margin-bottom:8px}.save-panel p{font-size:12px;color:var(--muted);margin-bottom:15px}.save-panel textarea{min-height:92px}.save-actions{margin-top:13px;display:flex;justify-content:space-between;align-items:center;gap:15px}.secondary{font-size:13px;padding:12px 17px;border:1px solid #d2cbbd;border-radius:9px;background:var(--white)}.saved-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.saved-card{padding:25px;border:1px solid var(--line);border-radius:14px;background:var(--white)}.saved-card .note{background:var(--paper);padding:13px;margin:18px 0;border-radius:8px;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.saved-card h3{margin:12px 0}.saved-card .micro{margin-bottom:15px}.saved-card .actions{display:flex;gap:15px;align-items:center;justify-content:space-between}.loading{padding:100px;text-align:center;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:20px;background:var(--white);padding:38px;width:min(440px,calc(100% - 30px));color:var(--ink);box-shadow:0 25px 100px #0002}dialog::backdrop{background:#22261d70;backdrop-filter:blur(3px)}dialog .close-button{position:absolute;right:17px;top:13px;font-size:26px;color:var(--muted)}dialog h2{font-size:32px;margin-bottom:14px}dialog>p{font-size:13px;color:var(--muted);margin-bottom:25px}dialog label{margin:18px 0}dialog .text-button{display:block;margin:16px auto}dialog .micro{font-size:11px;margin:18px 0 0}.error{font-size:12px;color:#b53f28;min-height:18px;margin-bottom:8px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100% - 30px);background:var(--ink);color:white;padding:14px 23px;border-radius:12px;box-shadow:0 8px 25px #0002;font-size:13px;z-index:20}.skip{position:fixed;top:-100px;left:20px;background:white;padding:15px;z-index:30}.skip:focus{top:10px}[hidden]{display:none!important}.dirty-notice{color:var(--accent);font-size:12px;margin-top:15px}@media(min-width:1400px){.hero{padding-top:100px;padding-bottom:85px}.hero h1{font-size:64px}.input-card{padding:37px}}@media(max-width:1250px){main{padding-left:40px;padding-right:40px}.hero{gap:45px}.hero h1{font-size:50px}}@media(max-width:850px){.header{padding:22px 25px}main{padding:0 25px 45px}.hero{gap:28px;padding:50px 0}.hero h1{font-size:43px}.input-card{padding:23px}.how-grid{gap:20px}.detail-layout{grid-template-columns:1fr}.lab-sidebar{position:static}.guide-columns{grid-template-columns:1fr}.lab-sidebar h2{margin:7px 0}.steps{font-size:10px}}@media(max-width:620px){.header{padding:20px}.brand{font-size:21px}nav{gap:12px}.account{padding:8px 12px;font-size:12px}.account span{margin-left:3px}main{padding:0 20px 40px}.hero{grid-template-columns:1fr;padding:40px 0;gap:33px}.hero h1{font-size:45px;letter-spacing:-2.8px}.hero-copy{font-size:14px;margin-bottom:15px}.hero-proof{margin-top:18px}.how-grid{grid-template-columns:1fr;gap:22px}.bottom-note{display:block;line-height:1.8}.bottom-note span:last-child{display:block;margin-top:6px}footer{padding:22px 20px;gap:12px;flex-wrap:wrap}footer span:last-child{margin-left:0;width:100%}.labs-grid,.saved-grid{grid-template-columns:1fr}.page-heading h1{font-size:29px}.page-top{margin-bottom:20px}.steps{gap:6px}.results-toolbar{align-items:flex-start;flex-direction:column}.results-toolbar input{max-width:none}.lab-card{padding:22px}.selection-actions{align-items:stretch;flex-direction:column;gap:12px}.selection-head{gap:10px}.save-actions{flex-direction:column;align-items:stretch}.save-actions .primary{justify-content:center}.detail-main h2{font-size:23px}.loading{padding:60px 15px}.save-panel{padding:20px}.course-item{padding:16px 13px}.course-code{display:block;margin:4px 0 0}}
/* Community: profile, reviews, graduates, messages */
.nav-button span.alert{background:var(--accent);color:white}
dialog.wide{width:min(660px,calc(100% - 30px))}
dialog{max-height:calc(100vh - 40px);overflow:auto}
dialog .tag-option,dialog .rating-input label,dialog .check{margin:0}
label small,legend small,summary small,.field-label small{font-weight:400;color:var(--muted);font-size:11px;margin-left:4px}
.form-section{border:0;padding:0;margin:0}
.form-section legend,.rating-set legend{font-size:11px;letter-spacing:1.5px;color:var(--accent);font-weight:700;padding:0;margin:8px 0 4px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.field{margin:18px 0}
.field-label{display:block;font-size:14px;font-weight:600;margin-bottom:9px}
.tag-filter{font-size:13px;padding:10px 13px}
.tag-picker{display:flex;flex-wrap:wrap;gap:6px;max-height:168px;overflow:auto;padding:10px;margin-top:8px;border:1px solid var(--line);border-radius:10px;background:#fcfbf7}
.tag-option{display:inline-flex;position:relative;font-weight:400}
.tag-option input,.rating-input input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.tag-option span{font-size:12px;border:1px solid var(--line);border-radius:30px;padding:6px 11px;background:var(--white);cursor:pointer}
.tag-option input:checked+span{background:var(--pale);border-color:var(--accent);color:#9b3a1d;font-weight:600}
.tag-option input:focus-visible+span,.rating-input input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}
.sub-label{font-size:12px;margin-top:12px!important}
details.optional{border-top:1px solid var(--line);padding-top:14px;margin:20px 0 6px;font-size:14px}
details.optional>summary{font-size:14px;font-weight:600;color:var(--ink)}
.profile-form{max-width:720px;background:var(--white);border:1px solid var(--line);border-radius:18px;padding:30px}
.profile-form>label{margin:0 0 18px}
.profile-form label{margin-bottom:16px}
.profile-form .form-grid label,.profile-form details label{margin-top:16px}
.profile-actions{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:22px;border-top:1px solid var(--line);padding-top:20px}
.notice.strong{background:var(--pale);color:#8f3f22}
.community{margin-top:42px;padding-top:34px;border-top:1px solid var(--line)}
.community:empty{display:none}
.community>h2{font-size:26px;margin-bottom:8px}
.community>.sub{color:var(--muted);font-size:13px;margin-bottom:20px}
.community-block{margin:22px 0}
.block-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px}
.block-head h3{font-size:18px}
.count{font-size:12px;color:var(--accent);margin-left:4px;letter-spacing:0}
.stars{color:#d98a30;letter-spacing:1px;font-size:12px;white-space:nowrap}
.stars-off{color:#ddd8cb}
.review-summary{display:grid;grid-template-columns:150px 1fr;gap:20px;align-items:center;padding:18px 22px;border:1px solid var(--line);border-radius:12px;background:#f7f4ec;margin-bottom:14px}
.overall{display:flex;flex-direction:column;gap:3px}
.overall b{font-size:34px;letter-spacing:-1.5px;line-height:1}
.review-ratings{display:grid;grid-template-columns:1fr 1fr;gap:6px 18px;margin:0}
.review-ratings div{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px}
.review-ratings dt{color:var(--muted)}
.review-ratings dd{margin:0}
.review-list{display:grid;gap:12px}
.review-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;align-items:start}
.review-card{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:20px 22px}
.review-head{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:14px;margin-bottom:10px}
.review-score{font-size:12px;font-weight:600}
.review-lab{font-size:15px;font-weight:700;letter-spacing:-.4px;margin-bottom:10px}
.review-lab span{font-size:11px;color:var(--muted);font-weight:400;margin-left:6px;letter-spacing:0}
.review-card .review-ratings{margin:14px 0;padding:12px 0;border-top:1px dashed var(--line);border-bottom:1px dashed var(--line)}
.review-body h5{font-size:11px;color:var(--green);margin:12px 0 3px;letter-spacing:.3px}
.review-body p{font-size:13px;color:#4f5248;line-height:1.75;white-space:pre-line;overflow-wrap:anywhere}
.review-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:14px}
.senior-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.senior-card{display:flex;gap:14px;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--white)}
.avatar{flex:0 0 42px;height:42px;border-radius:50%;background:#dce3d6;color:var(--green);display:grid;place-items:center;font-weight:700}
.senior-info{min-width:0;display:flex;flex-direction:column;gap:7px;align-items:flex-start}
.senior-info h4{font-size:15px;margin:0;letter-spacing:-.3px}
.senior-info h4 span{font-size:11px;color:var(--muted);font-weight:400;margin-left:4px;letter-spacing:0}
.senior-info .research{font-size:13px;line-height:1.5}
.senior-info .headline{font-size:12px;color:#5a5d52;line-height:1.6}
.senior-info .email{overflow-wrap:anywhere}
.empty.small{padding:24px}
.empty.small p{margin:0;font-size:13px}
.sheet-sub{font-size:13px;color:var(--muted);margin-bottom:10px}
#sheet-dialog h2{font-size:28px;margin-bottom:6px}
#sheet-dialog form>label,#sheet-dialog .form-grid label{margin:16px 0}
.check{display:flex!important;gap:10px;align-items:center;padding:13px 15px;border:1px solid #d4c9b5;border-radius:10px;background:#f4f0e6;margin:14px 0!important}
.check input{width:17px;height:17px;margin:0;accent-color:var(--accent);flex:0 0 17px}
.rating-set{border:0;padding:0;margin:14px 0}
.rating-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 0;border-bottom:1px dashed var(--line);font-size:13px;font-weight:600}
.rating-input{display:flex;gap:5px}
.rating-input label{position:relative}
.rating-input span{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:8px;font-size:13px;font-weight:400;cursor:pointer;background:var(--white)}
.rating-input input:checked+span{background:var(--accent);border-color:var(--accent);color:white;font-weight:700}
.share-preview{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:13px 15px;margin:4px 0 12px}
.share-preview p:not(.micro){font-size:13px;line-height:1.7}
.share-preview .text-button{display:inline;margin:4px 0 0;padding:0;font-size:12px}
.board-labs{display:flex;gap:8px;overflow-x:auto;padding-bottom:10px;margin-bottom:12px}
.lab-chip{flex:0 0 auto;display:flex;flex-direction:column;gap:3px;text-align:left;border:1px solid var(--line);border-radius:12px;padding:11px 14px;background:var(--white);font-size:12px}
.lab-chip b{font-size:13px;letter-spacing:-.3px}
.lab-chip[aria-pressed=true]{border-color:var(--accent);background:var(--pale)}
.board-filters{display:flex;gap:8px}
.board-filters select{font-size:13px;width:auto;padding:10px 12px}
.board-filters input{font-size:13px;max-width:260px}
.inbox-layout{display:grid;grid-template-columns:320px 1fr;border:1px solid var(--line);border-radius:16px;background:var(--white);overflow:hidden;min-height:520px}
.thread-list{border-right:1px solid var(--line);overflow:auto;max-height:680px}
.thread-item{display:flex;flex-direction:column;gap:3px;width:100%;text-align:left;padding:16px 18px;border-bottom:1px solid var(--line)}
.thread-item:hover{background:#faf8f2}
.thread-item.active{background:#f4eee4;box-shadow:inset 3px 0 0 var(--accent)}
.thread-title{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:14px}
.thread-title b span{font-weight:400;color:var(--muted);font-size:12px;margin-left:4px}
.badge{background:var(--accent);color:white;border-radius:10px;font-size:10px;padding:2px 7px}
.thread-subject{font-size:13px;font-weight:600;color:#45483f}
.thread-preview{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.thread-view{display:flex;flex-direction:column;min-width:0}
.thread-view>.empty{margin:auto}
.thread-head{padding:20px 24px;border-bottom:1px solid var(--line)}
.thread-head h2{font-size:20px;margin-bottom:4px}
.thread-contact{font-size:13px;margin-top:8px;line-height:1.7}
.sender-profile{margin:10px 0 0;background:var(--paper);border-radius:10px;padding:10px 14px}
.sender-profile dl{margin:8px 0 0;display:grid;gap:4px}
.sender-profile dl div{display:grid;grid-template-columns:76px 1fr;gap:10px;font-size:12px}
.sender-profile dt{color:var(--muted)}
.sender-profile dd{margin:0;white-space:pre-line;overflow-wrap:anywhere}
.messages{flex:1;padding:20px 24px;display:flex;flex-direction:column;gap:12px;overflow:auto;max-height:440px;background:#fcfbf7}
.message{max-width:78%;align-self:flex-start}
.message p{background:var(--white);border:1px solid var(--line);border-radius:4px 14px 14px 14px;padding:11px 14px;font-size:13px;white-space:pre-line;overflow-wrap:anywhere}
.message.mine{align-self:flex-end;text-align:right}
.message.mine p{background:#f4e8dc;border-color:#ead3bd;border-radius:14px 4px 14px 14px;text-align:left}
.message .micro{display:block;margin-top:4px;font-size:11px}
.reply-form{display:flex;gap:10px;padding:14px 18px;border-top:1px solid var(--line);align-items:flex-end}
.reply-form textarea{min-height:52px;height:52px;font-size:13px}
.mobile-only{display:none}
@media(max-width:850px){.inbox-layout{grid-template-columns:1fr}
.inbox-layout.has-thread .thread-list{display:none}
.inbox-layout:not(.has-thread) .thread-view{display:none}
.thread-list{border-right:0;max-height:none}
.mobile-only{display:inline-block}
.senior-grid,.review-grid{grid-template-columns:1fr}
}
@media(max-width:620px){nav{gap:10px;flex-wrap:wrap;justify-content:flex-end}
.header{align-items:flex-start;gap:10px}
.form-grid{grid-template-columns:1fr}
.review-summary{grid-template-columns:1fr;gap:12px}
.review-ratings{grid-template-columns:1fr}
.board-filters{flex-direction:column;width:100%}
.board-filters select,.board-filters input{width:100%;max-width:none}
.profile-form{padding:20px}
.rating-row{flex-direction:column;align-items:flex-start}
.block-head{flex-wrap:wrap}
dialog{padding:28px 20px}
.reply-form{flex-direction:column;align-items:stretch}
.reply-form .primary{justify-content:center}
}
.reply-form .primary{flex:0 0 auto;white-space:nowrap}
