:root{--color-background:#f6f5f2;--color-sidebar:#17231e;--color-surface:#fff;--color-surface-hover:#f1f0ec;--color-border:#dedbd3;--color-text:#20231f;--color-text-muted:#6c716b;--color-primary:#35654d;--color-primary-hover:#294f3c;--color-success:#26734d;--color-warning:#9a6500;--color-danger:#a33a35;--color-info:#34658a}*{box-sizing:border-box}body{margin:0;background:var(--color-background);color:var(--color-text);font-family:Inter,sans-serif;min-width:1024px}.sidebar{position:fixed;inset:0 auto 0 0;width:272px;background:var(--color-sidebar);color:#fff;padding:24px 16px;display:flex;flex-direction:column;transition:width .2s}.sidebar.collapsed{width:72px}.sidebar.collapsed span,.sidebar.collapsed nav a{font-size:0}.brand{display:flex;align-items:center;gap:12px;font-weight:700;margin-bottom:32px}.brand img{width:36px;height:36px;object-fit:contain}.sidebar nav{display:grid;gap:6px}.sidebar a,.link-button,.sidebar-toggle{color:#e8eee9;text-decoration:none;border:0;background:transparent;padding:10px 12px;border-radius:7px;text-align:left;font:inherit}.sidebar a:hover,.sidebar a:focus-visible,.link-button:hover{background:#ffffff18}.sidebar-toggle{margin-top:auto}.content{margin-left:272px;padding:40px;transition:margin .2s}.sidebar.collapsed~.content{margin-left:72px}.page-header{display:flex;justify-content:space-between;margin-bottom:28px}.page-header h1{font-size:30px;margin:4px 0 8px}.page-header p{color:var(--color-text-muted);margin:0}.breadcrumb{font-size:13px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.card{display:block;background:var(--color-surface);border:1px solid var(--color-border);border-radius:8px;padding:20px;color:inherit;text-decoration:none;margin-bottom:16px}.card strong,.card span{display:block}.card span{color:var(--color-text-muted);margin-top:8px}.table-wrap{background:#fff;border:1px solid var(--color-border);border-radius:8px;overflow:hidden}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:13px 16px;border-bottom:1px solid var(--color-border)}th{font-size:12px;color:var(--color-text-muted);text-transform:uppercase}.badge{display:inline-block;padding:4px 8px;border-radius:999px;background:#e7eee9;font-size:12px}.empty{background:#fff;border:1px dashed var(--color-border);border-radius:8px;padding:48px;text-align:center}.alert{padding:12px;background:#e6f0e9;border-radius:8px;margin-bottom:16px}dt{font-size:12px;color:var(--color-text-muted)}dd{margin:4px 0 16px}
.auth-page{min-width:0;min-height:100vh;background:#17231e}.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(420px,1.05fr) minmax(460px,.95fr)}.auth-identity{padding:56px clamp(48px,7vw,104px);display:flex;flex-direction:column;justify-content:space-between;color:#fff;background:radial-gradient(circle at 25% 20%,#315343 0,transparent 36%),linear-gradient(145deg,#17231e,#111a16)}.auth-mark{display:grid;place-items:center;width:52px;height:52px;border:1px solid #ffffff2a;border-radius:10px;background:#ffffff0d;color:#f2c76e;font-size:27px;font-weight:700}.auth-eyebrow{margin:0 0 16px;color:#84978c;font-size:11px;font-weight:700;letter-spacing:.16em}.auth-identity .auth-eyebrow{color:#b9cabf}.auth-identity h1{max-width:620px;margin:0;font-size:clamp(42px,5vw,68px);line-height:1.04;letter-spacing:-.045em}.auth-intro{max-width:520px;margin:28px 0 0;color:#bdc9c1;font-size:17px;line-height:1.65}.auth-version{margin:0;color:#7f9187;font-size:12px}.auth-panel{display:grid;place-items:center;padding:48px;background:#f6f5f2}.auth-form-wrap{width:min(100%,420px)}.auth-form-wrap h2{margin:0;font-size:34px;letter-spacing:-.03em}.auth-help{margin:10px 0 34px;color:var(--color-text-muted)}.auth-form{display:grid;gap:20px}.field label{display:block;margin-bottom:8px;font-size:13px;font-weight:650}.field input{width:100%;height:46px;border:1px solid #cbc7bd;border-radius:7px;background:#fff;padding:0 13px;font:inherit;color:var(--color-text)}.field input:focus{border-color:var(--color-primary);outline:3px solid #35654d24}.button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:7px;padding:12px 18px;font:600 14px Inter,sans-serif;cursor:pointer}.button-primary{background:var(--color-primary);color:#fff}.button-primary:hover{background:var(--color-primary-hover)}.auth-submit{width:100%;height:46px;margin-top:4px}.auth-support{margin-top:28px;color:var(--color-text-muted);font-size:12px;line-height:1.5}.form-errors{margin-bottom:20px;border-left:3px solid var(--color-danger);background:#f8eae8;padding:12px;color:#722b27;font-size:13px}.errorlist{margin:6px 0 0;padding:0;list-style:none;color:var(--color-danger);font-size:12px}@media(max-width:820px){.auth-shell{grid-template-columns:1fr}.auth-identity{display:none}.auth-panel{min-height:100vh}}
.header-actions,.form-actions,.section-heading{display:flex;align-items:center;gap:10px}.button{text-decoration:none}.button-secondary{border:1px solid var(--color-border);background:#fff;color:var(--color-text)}.button-secondary:hover{background:var(--color-surface-hover)}.form-card{overflow:hidden;border:1px solid var(--color-border);border-radius:8px;background:#fff}.form-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:18px;padding:24px}.form-field{grid-column:span 4}.form-field:has(textarea),.form-field:has(input[type=file]){grid-column:span 12}.form-field label{display:block;margin-bottom:7px;font-size:12px;font-weight:650}.form-field input:not([type=checkbox]),.form-field select,.form-field textarea{width:100%;min-height:42px;border:1px solid #cbc7bd;border-radius:7px;padding:9px 11px;background:#fff;font:inherit}.form-field textarea{min-height:100px}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:var(--color-primary);outline:3px solid #35654d20}.form-field small{display:block;margin-top:5px;color:var(--color-text-muted)}.checkbox-field{display:flex;align-items:center;gap:8px}.checkbox-field label{margin:0}.form-actions{position:sticky;bottom:0;justify-content:flex-end;border-top:1px solid var(--color-border);padding:14px 24px;background:#faf9f6}.section-heading{justify-content:space-between}.section-heading h2{margin-bottom:4px}.section-heading p{margin:0;color:var(--color-text-muted)}
.store-selector-card{overflow:hidden;border:1px solid var(--color-border);border-radius:8px;background:#fff}.store-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:20px}.store-option{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--color-border);border-radius:8px;padding:18px;cursor:pointer}.store-option:hover{background:var(--color-surface-hover)}.store-option:has(input:checked){border-color:var(--color-primary);outline:3px solid #35654d18;background:#edf3ef}.store-option input{margin-top:4px}.store-option strong,.store-option small{display:block}.store-option small{margin-top:6px;color:var(--color-text-muted)}
.uppercase-field{text-transform:uppercase}
.button-danger{background:var(--color-danger);color:#fff}.button-danger:hover{background:#812e2a}.table-actions{display:flex;align-items:center;gap:8px}.table-actions .button{padding:7px 11px;font-size:12px}
.icon{width:18px;height:18px;flex:0 0 auto;stroke-width:2}.sidebar{padding:20px 12px}.brand{min-height:44px;margin:0 4px 28px;justify-content:flex-start}.brand span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brand .sidebar-toggle{margin-left:auto}.sidebar nav{display:grid;gap:6px}.sidebar .nav-item{display:flex;align-items:center;gap:11px;min-height:42px;padding:10px 12px;color:#cbd8d0;border-radius:7px;white-space:nowrap;overflow:hidden}.sidebar .nav-item .icon{color:#91a79b}.sidebar .nav-item:hover,.sidebar .nav-item.active{background:#ffffff18;color:#fff}.sidebar .nav-item:hover .icon,.sidebar .nav-item.active .icon{color:#fff}.sidebar-toggle{display:grid;place-items:center;width:36px;height:36px;min-width:36px;margin:0;padding:0;border:0;border-radius:7px;background:#ffffff10;color:#e8eee9;cursor:pointer}.sidebar-toggle:hover,.sidebar-toggle:focus-visible{background:#ffffff20}.sidebar-logout{margin-top:auto}.sidebar-logout .link-button{display:flex;align-items:center;gap:11px;width:100%;cursor:pointer}.sidebar.collapsed{width:72px}.sidebar.collapsed .brand{margin-inline:6px;justify-content:center}.sidebar.collapsed .brand img,.sidebar.collapsed .brand>span{display:none}.sidebar.collapsed .brand .sidebar-toggle{margin:0}.sidebar.collapsed .nav-item,.sidebar.collapsed .sidebar-logout .link-button{justify-content:center;padding-inline:0}.sidebar.collapsed .nav-item span,.sidebar.collapsed .sidebar-logout span{display:none}.sidebar.collapsed~.content{margin-left:72px}.button{gap:8px}.button .icon,.link-button .icon{width:17px;height:17px}.card-icon{width:24px;height:24px;margin-bottom:12px;color:var(--color-primary)}
.button span{display:inline;color:inherit;margin-top:0}
.tag-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.tag{display:inline-flex;padding:6px 10px;border-radius:999px;background:#e7eee9;color:var(--color-primary);font-size:12px;font-weight:600}.ai-summary{max-width:920px;line-height:1.7}.section-actions{display:flex;justify-content:flex-end;margin-top:20px}.question-form{margin-top:18px}.question-form .form-field{width:100%}.question-form .form-actions{position:static;padding:14px 0 0;border:0;background:transparent}.question-history{display:grid;gap:14px;margin-top:24px}.question-item{border-top:1px solid var(--color-border);padding-top:18px}.question-item>.badge{margin-left:8px}.answer{margin-top:12px;line-height:1.65}.citations{color:var(--color-text-muted);font-size:12px}.muted{color:var(--color-text-muted)}
.list-filters{display:grid;grid-template-columns:minmax(220px,2fr) minmax(110px,.7fr) minmax(150px,1fr) minmax(170px,1fr) auto;align-items:end;gap:12px;margin-bottom:14px;padding:14px 12px 12px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface)}.list-filter{min-width:0}.list-filter label{display:block;margin-bottom:5px;font-size:12px;font-weight:650}.list-filter input,.list-filter select{display:block;width:100%;height:34px;min-width:0;border:1px solid #cbc7bd;border-radius:6px;padding:5px 9px;background:#fff;color:var(--color-text);font:400 13px Inter,sans-serif}.list-filter input:focus,.list-filter select:focus{border-color:var(--color-primary);outline:3px solid #35654d20}.list-filter-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.list-filter-actions .button{height:34px;padding:7px 12px;white-space:nowrap}.brother-table{overflow-x:auto}.brother-table table{table-layout:fixed;min-width:760px}.brother-column-name{width:38%}.brother-column-cim{width:14%}.brother-column-status{width:18%}.brother-column-degree{width:20%}.brother-column-actions{width:10%}.table-empty{text-align:center;color:var(--color-text-muted);padding:36px 16px}@media(max-width:1200px){.list-filters{grid-template-columns:minmax(220px,2fr) minmax(110px,.8fr) minmax(150px,1fr) minmax(170px,1fr)}.list-filter-actions{grid-column:1/-1}}
.brother-table tbody td:first-child a{color:var(--color-text);font-weight:500;text-decoration:none}.brother-table tbody td:first-child a:hover{color:var(--color-primary)}.brother-table tbody td:first-child a:focus-visible{border-radius:3px;outline:3px solid #35654d2b;outline-offset:2px}
.brother-table thead{background:#ece9e2}.brother-table thead th{color:#505750}
.honor-grouped-table thead{background:#ece9e2}.honor-brother-heading td{padding-block:11px;background:#edf3ef;color:var(--color-text)}.honor-brother-heading a{color:var(--color-text);text-decoration:none}.honor-brother-heading a:hover{color:var(--color-primary)}.honor-brother-heading span{color:var(--color-text-muted);font-size:12px}
.sectioned-form{overflow:visible;padding:16px;background:#f1f0ec}.form-sections{display:grid;gap:14px}.form-section{padding:16px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);box-shadow:0 6px 16px #17231e0a}.form-section-title{display:flex;align-items:center;gap:10px;margin:0 0 14px;padding-bottom:10px;border-bottom:1px solid var(--color-border);font-size:14px;line-height:1.3}.form-section-title::before{width:10px;height:10px;flex:0 0 10px;border-radius:999px;background:var(--color-primary);content:""}.sectioned-form .form-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:14px 16px;padding:0}.sectioned-form .form-field{min-width:0;grid-column:auto}.sectioned-form .field-span-4{grid-column:span 4}.sectioned-form .field-span-6{grid-column:span 6}.sectioned-form .field-span-8{grid-column:span 8}.sectioned-form .field-span-12{grid-column:1/-1}.sectioned-form .form-actions{margin:2px -16px -16px;border-radius:0 0 8px 8px}.degree-history{margin-top:18px;padding-top:16px;border-top:1px solid var(--color-border)}.degree-history h3{margin:0;font-size:14px}.degree-history>p{margin:5px 0 12px;color:var(--color-text-muted);font-size:13px}.degree-history .table-wrap{box-shadow:none}.form-errors strong{display:block}.form-errors ul{margin:8px 0 0;padding-left:20px}.form-errors a{color:inherit}@media(max-width:1200px){.sectioned-form .field-span-4{grid-column:span 6}.sectioned-form .field-span-6{grid-column:span 6}.sectioned-form .field-span-8,.sectioned-form .field-span-12{grid-column:1/-1}}@media(max-width:900px){.sectioned-form .field-span-4,.sectioned-form .field-span-6,.sectioned-form .field-span-8,.sectioned-form .field-span-12{grid-column:1/-1}}
.cep-lookup-feedback{min-height:16px}.cep-lookup-feedback[data-state=loading]{color:var(--color-info)}.cep-lookup-feedback[data-state=success]{color:var(--color-success)}.cep-lookup-feedback[data-state=error]{color:var(--color-danger)}
.brother-summary{margin-bottom:14px;padding:16px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface)}.brother-summary[hidden]{display:none}.brother-summary header{display:flex;align-items:baseline;gap:10px;margin-bottom:12px}.brother-summary h2{margin:0;font-size:15px}.brother-summary header p{margin:0;color:var(--color-text-muted);font-size:12px}.brother-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.brother-summary-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--color-border);border-radius:7px;background:#faf9f6}.brother-summary-item span{font-size:12px;color:var(--color-text-muted)}.brother-summary-item strong{font-size:20px;color:var(--color-primary)}.brother-summary-installed{border-color:#35654d55;background:#edf3ef}
