:root{--brand:#ffb347;--brand-deep:#8f5200;--brand-light:#fff3e2;--brand-line:#ffb34780;--ink:#0f213a;--muted:#4a5568;--line:#d6dbe3;--bg:#fff;--info-bg:#f1f4f3;--info-border:#d5dfdb;accent-color:var(--brand-deep)}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);margin:0;font:17px/1.55 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.dfd{position:relative}.dfd-wrap{max-width:760px;margin:0 auto;padding:0 16px}.dfd-band{background:var(--brand-deep);color:#fff;border-bottom:4px solid var(--brand);margin-bottom:16px;padding:20px 0}.dfd-band h1{margin:0 0 4px;font-family:Bricolage Grotesque,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:1.75rem;font-weight:800;line-height:1.2}.dfd-band p{max-width:60ch;margin:0}.dfd h2{margin:24px 0 8px;font-size:1.25rem}.dfd h3{margin:16px 0 6px;font-size:1.05rem}.dfd p{margin:8px 0}.dfd :focus-visible{outline:3px solid var(--brand-deep);outline-offset:2px}.dfd-band :focus-visible{outline-color:#fff}.dfd-sr{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.dfd-info{background:var(--info-bg);border:1px solid var(--info-border);border-radius:8px;margin:8px 0;padding:10px 12px;font-size:.95rem}.dfd-warn{color:#6b4e00;background:#fff4d6;border:1px solid #e0b84a;border-radius:8px;margin:8px 0;padding:10px 12px}.dfd-error{color:#b3261e;background:#fdecea;border-radius:8px;margin:8px 0;padding:8px 12px}.dfd-hint{color:var(--muted);font-size:.9rem}.dfd-empty{color:var(--muted);padding:12px 0}.dfd-tabs{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:0 4px;margin:16px 0 0;display:flex}.dfd-tab{font:inherit;color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:4px solid #0000;min-height:44px;padding:10px;font-weight:600;transition:color .15s}.dfd-tab:hover{color:var(--ink)}.dfd-tab[aria-selected=true]{color:var(--brand-deep);border-bottom-color:var(--brand)}@media (width<=500px){.dfd-tab{padding:8px 6px;font-size:.9rem}}.dfd-panel{padding-top:8px;padding-bottom:24px}.dfd-btn{font:inherit;border:1px solid var(--brand-deep);min-height:44px;color:var(--brand-deep);cursor:pointer;background:#fff;border-radius:8px;padding:10px 18px;font-weight:600}.dfd-btn:hover{background:var(--brand-light)}.dfd-btn-primary{background:var(--brand-deep);color:#fff}.dfd-btn-primary:hover{background:var(--brand-deep);filter:brightness(.88)}.dfd-btn-danger{color:#b3261e;border-color:#b3261e}.dfd-btn-danger:hover{background:#fdecea}.dfd-btn-sm{min-height:36px;padding:4px 10px;font-size:.9rem}input,select,textarea{font:inherit;color:inherit;background:#fff;border:1px solid #6b7280;border-radius:8px;max-width:100%;min-height:44px;padding:8px 10px}input[type=checkbox],input[type=radio]{vertical-align:middle;width:20px;height:20px;min-height:0}select{appearance:none;cursor:pointer;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%238f5200' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 10px center/16px 16px no-repeat;padding-right:36px}select:hover{border-color:var(--brand-deep)}.dfd-field{flex-direction:column;gap:4px;margin:10px 0;display:flex}.dfd-field label{font-weight:600}.dfd-row{flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0;display:flex}.dfd-row input:not([type=checkbox]):not([type=radio]),.dfd-row select{flex:200px;min-width:0}.dfd-two{grid-template-columns:1fr 1fr;gap:12px;display:grid}@media (width<=500px){.dfd-two{grid-template-columns:1fr}}.dfd-three{grid-template-columns:1fr 1fr 1fr;gap:12px;display:grid}@media (width<=600px){.dfd-three{grid-template-columns:1fr}}.dfd-card{background:var(--bg);border:1px solid var(--line);border-radius:8px;margin:12px 0;padding:18px}.dfd-card h3{margin-top:0}.dfd-summary-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin:16px 0;display:grid}.dfd-summary-item{background:var(--info-bg);border:1px solid var(--info-border);text-align:center;border-radius:8px;padding:14px}.dfd-summary-item .dfd-label{color:var(--muted);margin:0;font-size:.85rem}.dfd-summary-item .dfd-value{color:var(--brand-deep);margin:4px 0 0;font-size:1.6rem;font-weight:700}.dfd-summary-item.dfd-gap .dfd-value{color:#b3261e}.dfd-summary-item.dfd-surplus .dfd-value{color:#137333}.dfd-cf-table{border-collapse:collapse;width:100%;margin:12px 0;font-size:.9rem}.dfd-cf-table th,.dfd-cf-table td{text-align:right;border-bottom:1px solid var(--line);padding:8px 10px}.dfd-cf-table th:first-child,.dfd-cf-table td:first-child{text-align:left}.dfd-cf-table th{background:var(--info-bg);font-weight:600;position:sticky;top:0}.dfd-cf-negative{color:#b3261e;font-weight:600}.dfd-entry-list{margin:8px 0;padding:0;list-style:none}.dfd-entry-item{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:8px;padding:8px 0;display:flex}.dfd-entry-item:last-child{border-bottom:none}.dfd-entry-detail{flex:1;min-width:0}.dfd-entry-amount{white-space:nowrap;font-weight:600}.dfd-status-confirmed{color:#137333}.dfd-status-expected{color:var(--brand-deep)}.dfd-status-speculative{color:var(--muted);font-style:italic}.dfd-badge{text-transform:uppercase;letter-spacing:.03em;border-radius:12px;padding:2px 8px;font-size:.75rem;font-weight:600;display:inline-block}.dfd-badge-confirmed{color:#137333;background:#e6f4ea}.dfd-badge-expected{background:var(--brand-light);color:var(--brand-deep)}.dfd-badge-speculative{color:var(--muted);background:#f1f4f3}.dfd-radio-group{flex-wrap:wrap;gap:12px;margin:8px 0;display:flex}.dfd-radio-option{cursor:pointer;align-items:center;gap:6px;min-height:44px;display:flex}.dfd-radio-option input{cursor:pointer}.dfd-choice-cards{grid-template-columns:1fr 1fr;gap:12px;margin:16px 0;display:grid}@media (width<=500px){.dfd-choice-cards{grid-template-columns:1fr}}.dfd-choice-card{border:2px solid var(--line);text-align:center;cursor:pointer;border-radius:12px;padding:20px;transition:border-color .15s,background .15s}.dfd-choice-card:hover{border-color:var(--brand-deep);background:var(--brand-light)}.dfd-choice-card h3{color:var(--brand-deep);margin:0 0 6px}.dfd-choice-card p{color:var(--muted);margin:0;font-size:.9rem}.dfd-nav{border-top:1px solid var(--line);justify-content:space-between;gap:8px;margin:24px 0 16px;padding-top:16px;display:flex}.dfd-disclaimer{color:var(--muted);border-top:1px solid var(--line);margin-top:32px;padding:16px 0;font-size:.85rem}.dfd-disclaimer a{color:var(--brand-deep)}.dfd-transfer-notice{color:#6b4e00;background:#fff4d6;border:1px solid #e0b84a;border-radius:8px;margin:8px 0;padding:10px 12px;font-size:.9rem}.dfd-college-search{margin:10px 0;position:relative}.dfd-college-search label{margin-bottom:4px;font-weight:600;display:block}.dfd-college-search input[type=text]{width:100%}.dfd-search-results{z-index:10;border:1px solid var(--line);background:#fff;border-radius:8px;max-height:280px;margin:2px 0 0;padding:0;list-style:none;position:absolute;left:0;right:0;overflow-y:auto;box-shadow:0 4px 12px #0000001f}.dfd-search-results li{cursor:pointer;border-bottom:1px solid var(--line);padding:10px 12px}.dfd-search-results li:last-child{border-bottom:none}.dfd-search-results li:hover,.dfd-search-highlighted{background:var(--brand-light)}.dfd-search-name{font-weight:600;display:block}.dfd-search-detail{color:var(--muted);font-size:.85rem;display:block}.dfd-lookup-notice{color:#137333;background:#e6f4ea;border:1px solid #b7dfca;border-radius:8px;margin:8px 0;padding:8px 12px;font-size:.9rem}.dfd-rec-list{flex-direction:column;gap:10px;margin:8px 0;display:flex}.dfd-rec-card{border:1px solid var(--line);border-radius:8px;padding:12px 14px}.dfd-rec-header{justify-content:space-between;align-items:center;margin-bottom:4px;display:flex}.dfd-rec-impact{color:var(--brand-deep);font-size:.95rem;font-weight:700}.dfd-rec-title{margin:2px 0 4px;font-weight:600}.dfd-rec-desc{color:var(--muted);margin:0;font-size:.9rem}.dfd-badge-cost{color:#137333;background:#e6f4ea}.dfd-badge-income{color:#0d47a1;background:#e3f2fd}.dfd-badge-funding{background:var(--brand-light);color:var(--brand-deep)}.dfd-badge-timing{color:#6b4e00;background:#fff4d6}.dfd-scenario-list{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px;margin:8px 0;display:grid}@media (width<=540px){.dfd-scenario-list{grid-template-columns:1fr}}.dfd-scenario-card{border:1px solid var(--line);border-radius:8px;padding:12px 14px}.dfd-scenario-label{margin:0 0 4px;font-weight:600}.dfd-scenario-desc{color:var(--muted);margin:0 0 8px;font-size:.85rem}.dfd-scenario-numbers{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.dfd-scenario-gap{color:#c62828;font-weight:700}.dfd-scenario-surplus{color:#137333;font-weight:700}.dfd-scenario-delta{color:var(--brand-deep);font-size:.85rem;font-weight:600}.dfd-breakdown{border-collapse:collapse;width:100%}.dfd-breakdown td{vertical-align:top;padding:8px 0}.dfd-breakdown td:last-child{text-align:right;white-space:nowrap;font-weight:600}.dfd-breakdown-total{border-top:2px solid var(--line)}.dfd-breakdown-total td{font-weight:700}.dfd-results-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.dfd-results-header h2{margin:0}.dfd-print-header{display:none}.dfd-print-btn{align-items:center;gap:6px;display:inline-flex}@media print{.dfd-band,.dfd-tabs,.dfd-nav,.dfd-print-btn,.dfd .cloud-notice{display:none!important}.dfd-panel{padding:0!important}.dfd-wrap{max-width:none;padding:0 20px}.dfd{color:#000;background:#fff}.dfd-print-header{border-bottom:2px solid #333;margin-bottom:20px;padding-bottom:12px;display:block!important}.dfd-print-header h1{margin:0 0 4px;font-size:1.5rem}.dfd-print-header p{color:#666;margin:0;font-size:.85rem}.dfd-card{break-inside:avoid;border-color:#ccc}.dfd-summary-grid{break-inside:avoid}.dfd-summary-item{background:#f5f5f5;border-color:#ccc}.dfd-summary-item .dfd-value{color:#333}.dfd-summary-item.dfd-gap .dfd-value{color:#b3261e}.dfd-summary-item.dfd-surplus .dfd-value{color:#137333}.dfd-cf-table{font-size:9pt}.dfd-cf-table th{background:#f5f5f5}.dfd-rec-card,.dfd-scenario-card{break-inside:avoid}.dfd-info{background:#f5f5f5;border-color:#ccc}.dfd-warn{background:#fff8e1;border-color:#ccc}.dfd-disclaimer{break-inside:avoid}.dfd-badge{border:1px solid #ccc}a{color:inherit;text-decoration:none}}.dfd .cloud-notice{border:1px solid #d8dfe9;border-left:4px solid var(--brand);background:#fff;border-radius:8px;margin:0 0 16px;padding:10px 14px;font-size:15px;line-height:1.45}.dfd .cloud-notice p{margin:0 0 4px;font-size:15px}.dfd .cloud-notice h2{margin:0 0 4px;font-size:16px;font-weight:700;line-height:1.3}.dfd .cloud-notice a{color:var(--brand-deep)}.dfd .cloud-notice .cloud-notice-links{margin:6px 0 0;font-weight:600}.dfd .cloud-notice-line p{margin:0}.dfd .cloud-notice-warn{background:#fff4d6;border-color:#e0b84a}.dfd-actions{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.dfd-link{font:inherit;color:var(--brand-deep);cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}
