:root{color-scheme:dark;font-family:Segoe UI,-apple-system,BlinkMacSystemFont,sans-serif;color:#eaf0f7;background:#0c1420;font-synthesis:none;--surface: #141f2e;--field: #0e1724;--line: #304054;--muted: #a8b6c8;--accent: #8fc5ff}*{box-sizing:border-box}body{margin:0;background:#0c1420}button,input,textarea,select{font:inherit}button,input,textarea,select,a{-webkit-tap-highlight-color:transparent}::selection{color:#081422;background:#8fc5ff}.app-shell{min-height:100vh;padding:0 40px 120px;background:#0c1420;color:#eaf0f7}.workspace{max-width:1280px;margin:0 auto}.brand-bar{display:flex;align-items:center;justify-content:space-between;min-height:78px;border-bottom:1px solid #263548}.brand{display:flex;align-items:center;gap:11px;font-weight:650;font-size:15px;letter-spacing:.01em}.brand svg{color:var(--accent)}.privacy-note{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px}.status-dot{width:6px;height:6px;background:#91d7ba;border-radius:50%}.intro{display:flex;justify-content:space-between;align-items:center;gap:48px;padding:36px 0 38px}.intro h1{margin:0;font-size:40px;line-height:1.12;font-weight:700;letter-spacing:-.035em}.intro p{max-width:450px;margin:0;color:var(--muted);font-size:16px;line-height:1.65}.editor-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px}.editor-toolbar h2{margin:0 0 5px;font-size:22px;font-weight:650;letter-spacing:-.02em}.editor-toolbar p{margin:0;font-size:14px;color:var(--muted)}.data-actions{display:flex;flex-wrap:wrap;gap:8px}.app-shell button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:10px 16px;border:1px solid var(--line);border-radius:8px;background:#1a293c;color:#eaf0f7;font-size:14px;font-weight:600;line-height:1.3;box-shadow:none;cursor:pointer;transition:background-color .16s ease-out,border-color .16s ease-out;transform:none}.app-shell button:hover{background:#263a52;border-color:#637b95;transform:none}.app-shell button:active{background:#30455e}.app-shell .button-primary{color:#0b1b2e;background:#9acaff;border-color:transparent}.app-shell .button-primary:hover{background:#b9dbff}.app-shell .button-primary:active{background:#80b8f6}.app-shell .button-quiet{background:transparent;border-color:transparent;color:var(--muted)}.app-shell .button-quiet:hover{color:#ffb7ba;background:#30202c}.app-shell .sample-button{border-color:#506d8e;color:#c7e2ff}.app-shell button:disabled{cursor:wait;opacity:.65}.app-shell :is(button,input,textarea,select,a,[tabindex]):focus-visible{outline:2px solid #9acaff;outline-offset:3px}.entry-guide{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:17px 0 19px;margin-top:18px;border-top:1px solid #263548;font-size:13px;color:var(--muted)}.entry-guide p{margin:12px 0 0;max-width:70ch;line-height:1.6}.paste-help summary{cursor:pointer;color:#c8d5e5;min-height:24px}.paste-help summary:focus-visible{outline:2px solid #9acaff;outline-offset:3px}.entry-guide code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#dae7f7;font-size:12px}.entry-count{flex-shrink:0;color:#cfdded;font-variant-numeric:tabular-nums}.team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.team-input{min-width:0;background:var(--surface);padding:20px;border:1px solid #2b3b4e;border-radius:12px}.team-input:focus-within{border-color:#83b4e9}.team-input-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:12px}.team-input-heading label{font-size:13px;font-weight:650;color:#dbe6f4}.team-state{font-size:11px;color:var(--muted);line-height:1.5}.team-state.recognized{color:#9cdec1}.team-name,.team-schedule{display:block;width:100%;border:1px solid #3a4c61;border-radius:7px;background:var(--field);color:#eaf0f7;caret-color:#9acaff}.team-name{height:44px;padding:10px 12px;font-size:16px;font-weight:500}.team-name::placeholder,.team-schedule::placeholder{color:#94a7be;opacity:1;font-weight:400}.schedule-label{display:block;margin:15px 0 7px;font-size:12px;line-height:1.4;color:#b6c5d7;overflow-wrap:anywhere}.team-schedule{min-height:94px;padding:10px 12px;resize:vertical;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.65}.notice{padding:16px 20px;margin:0 0 20px;border:1px solid;border-radius:10px;font-size:14px;line-height:1.6}.notice p{margin:0}.notice-ok{background:#162e2a;border-color:#3e7665;color:#b8ead5}.notice-err{background:#34252b;border-color:#95555c;color:#ffd1d4}.analysis-bar{position:fixed;bottom:0;left:0;right:0;background:#121e2e;border-top:1px solid #36495e;z-index:30;padding:16px 40px}.analysis-bar-inner{max-width:1280px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;gap:20px}.analysis-hint{display:flex;align-items:baseline;gap:12px;font-size:13px}.analysis-hint strong{font-size:14px;font-weight:600}.analysis-hint span{color:var(--muted)}.app-shell .analyze-button{min-height:46px;padding:12px 22px}.analysis-results{scroll-margin-top:24px}.results-actions{display:flex;flex-wrap:wrap;gap:10px;padding-top:32px}.skip-link{position:fixed;top:-100px;left:16px;z-index:50;background:#9acaff;color:#0b1b2e;padding:12px 18px;border-radius:6px}.skip-link:focus{top:10px}.app-shell .bg-gray-800{background-color:var(--surface);box-shadow:none}.app-shell .bg-gray-700,.app-shell .bg-gray-700\/80{background-color:#1e2d40}.app-shell .bg-gray-600{background-color:#283c54}.app-shell .text-gray-200,.app-shell .text-gray-300{color:#c8d5e5}.app-shell .text-gray-400,.app-shell .text-gray-500{color:var(--muted)}.app-shell .text-blue-400,.app-shell .text-blue-300{color:var(--accent)}.app-shell .text-green-400,.app-shell .text-teal-400,.app-shell .text-teal-300,.app-shell .text-emerald-300{color:#9cdec1}.app-shell .text-yellow-400,.app-shell .text-orange-400{color:#f3c789}.app-shell .text-3xl{font-size:26px;line-height:1.25}.app-shell .text-2xl{font-size:22px;line-height:1.3}.app-shell .text-xl{font-size:18px;line-height:1.4}.app-shell .border-gray-700{border-color:#34465b}.app-shell :is(.text-3xl,.text-2xl){letter-spacing:-.02em}.app-shell .matchup-row,.app-shell .replacement-row{gap:12px;flex-wrap:wrap}.app-shell select{max-width:100%;min-height:44px}.app-shell .bg-sky-600{background-color:#29709c}.app-shell .bg-teal-600{background-color:#28695b}.app-shell .bg-amber-600{background-color:#855813}.app-shell .bg-rose-600{background-color:#943e58}.app-shell .bg-blue-600{background-color:#2e6293}.proposal-page{padding-top:36px}.schedule-table{position:relative;overflow:auto;max-height:70vh;border:1px solid #34465b;border-radius:12px}.schedule-table table{min-width:1900px;font-variant-numeric:tabular-nums}.schedule-table th{font-size:13px}.schedule-table td{font-size:13px;line-height:1.6}@media(max-width:1100px){.intro{gap:28px}.intro h1{font-size:34px}.intro p{max-width:380px;font-size:15px}.team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.analysis-hint{display:block}.analysis-hint span{display:block;margin-top:4px}}@media(max-width:640px){.app-shell{padding:0 20px 112px}.brand-bar{min-height:62px}.brand{font-size:14px}.privacy-note{font-size:11px;max-width:123px;line-height:1.5}.privacy-note .status-dot{flex-shrink:0}.intro{display:block;padding:26px 0 28px}.intro h1{font-size:29px;line-height:1.15}.intro p{margin-top:16px;font-size:14px;line-height:1.65}.editor-toolbar{gap:16px}.editor-toolbar h2{font-size:20px}.editor-toolbar p{font-size:13px}.data-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px}.data-actions button{padding:10px 8px;font-size:13px}.entry-guide{align-items:baseline;gap:12px;margin-top:16px;padding:14px 0 18px;font-size:12px}.entry-count{font-size:11px}.entry-guide:has(details[open]){flex-wrap:wrap}.team-grid{grid-template-columns:minmax(0,1fr);gap:14px}.team-input{padding:18px}.team-schedule{font-size:16px;min-height:106px}.analysis-bar{padding:12px 20px calc(12px + env(safe-area-inset-bottom))}.analysis-bar-inner{gap:12px}.analysis-hint strong{font-size:12px;display:block;max-width:110px}.analysis-hint span{display:none}.app-shell .analyze-button{padding:12px 14px;font-size:13px;gap:8px}.notice{padding:14px}.app-shell .p-6{padding:18px}.app-shell .text-3xl{font-size:23px}.app-shell .text-2xl{font-size:20px}.results-actions button{flex-grow:1}.proposal-page{padding-top:24px}.schedule-table tr>:first-child{max-width:140px;white-space:normal;overflow-wrap:anywhere}}@media(prefers-reduced-motion:reduce){.app-shell *,.app-shell *:before,.app-shell *:after{transition:none!important;scroll-behavior:auto!important}}
