:root{font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;font-size:16px;color:#182d41;background:#f2f5f8;--blue:#204d73;--muted:#516579;--line:#d8e1e8}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);border-radius:10px;padding:11px 17px;background:white;color:#204d73;min-height:44px}button:hover{background:#e9f0f6}button:disabled{opacity:.5;cursor:not-allowed}button.primary{background:var(--blue);color:white;border-color:var(--blue)}button.accent{background:#f0bd87;color:#412a16;border-color:#f0bd87}button:focus-visible,a:focus-visible{outline:3px solid #4292ca;outline-offset:3px}a{color:#204d73}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.4}h2{font-size:22px}h3{font-size:18px}small,.muted{color:var(--muted)}small{font-size:14px}.subtitle{color:var(--muted);line-height:1.8;margin-top:9px}.brand{display:flex;align-items:center;gap:12px}.brand-mark{width:42px;height:42px;background:var(--blue);color:white;border-radius:14px;display:grid;place-items:center;font-size:24px}.brand strong{font-size:23px;letter-spacing:2px}.brand small{display:block;margin-top:3px;font-size:12px}.topbar{padding:20px max(24px,calc((100vw - 1180px)/2));display:flex;align-items:center;justify-content:space-between;background:white;border-bottom:1px solid var(--line);gap:15px}.top-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.small{font-size:14px;padding:8px 12px}.nav{display:flex;gap:8px;padding:15px max(24px,calc((100vw - 1180px)/2));border-bottom:1px solid var(--line);background:white;overflow:auto}.nav button{border:0;white-space:nowrap;background:transparent;color:#50677b}.nav button.active{color:#173f63;background:#e6eff6;font-weight:600}.page{max-width:1180px;margin:0 auto;padding:32px 24px 55px}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.eyebrow{font-size:12px;letter-spacing:2px;color:#5c7388;margin-bottom:10px}.status-hero{border-radius:20px;padding:32px;background:#204d73;color:white;display:grid;grid-template-columns:1fr auto;align-items:center;gap:25px;margin-bottom:25px}.status-hero p{color:#d7e5ef;line-height:1.9;margin-top:12px;max-width:700px}.status-hero h2{font-size:28px;margin-top:13px}.status-hero .pill{background:#ffffff1f;color:white;border:1px solid #ffffff55}.status-hero.waiting{background:#665238}.status-hero .hero-date{font-size:15px;color:#e4edf4;margin-top:15px}.pill{display:inline-block;padding:5px 9px;border-radius:7px;background:#e8eff5;color:#224b6a;font-size:14px}.pill.traveling{background:#dceaf9;color:#16416c}.pill.deferred{background:#fff0d7;color:#745016}.pill.released{background:#e5f2e9;color:#295a3c}.pill.reserved{background:#eee9f8;color:#554275}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0}.stat{padding:23px;background:white;border:1px solid var(--line);border-radius:13px}.stat strong{display:block;font-size:30px;margin-top:10px}.stat p{font-size:14px;color:var(--muted);margin-top:10px}.panel{border:1px solid var(--line);border-radius:14px;background:white;overflow:hidden;margin-bottom:24px}.panel-head{padding:22px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);gap:12px}.panel-body{padding:23px}.notice{background:#eaf1f7;border-left:4px solid #4d7b9e;border-radius:7px;padding:17px 20px;line-height:1.8;color:#35556e;margin-bottom:22px;font-size:15px}.notice.warning{background:#fff5e7;border-color:#c49553;color:#785026}.timeline{display:grid;gap:16px}.cycle{border:1px solid var(--line);border-radius:13px;background:white;overflow:hidden}.cycle-head{display:flex;justify-content:space-between;gap:12px;padding:20px;background:#f8fafc;align-items:flex-start;border-bottom:1px solid var(--line)}.cycle-head h3{margin-bottom:9px}.cycle-head small{line-height:1.7}.segments{padding:8px 22px}.segment{padding:18px 0;border-bottom:1px solid #e4eaf0}.segment:last-child{border-bottom:0}.segment p{line-height:1.8;margin-top:8px;overflow-wrap:anywhere}.segment .dates{font-size:15px;font-weight:600;color:#204d73}.segment small{display:block;line-height:1.8;margin-top:5px}.cycle-note{padding:13px 22px;background:#eef3f8;font-size:14px;line-height:1.8;color:#48617a}.toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:23px}.toolbar input{flex:1;min-width:180px}.toolbar select{width:180px}input,select,textarea{width:100%;border:1px solid #a8b8c6;border-radius:8px;padding:12px;font-size:16px;min-height:46px;color:#213e56;background:white;outline:0}input:focus,select:focus,textarea:focus{border-color:#397eaf;box-shadow:0 0 0 3px #e1eef8}input::placeholder,textarea::placeholder{color:#697d8f}label{display:block;font-size:15px;margin-bottom:18px}label>input,label>select,label>textarea{margin-top:8px}textarea{min-height:95px;resize:vertical}.hint{font-size:14px;color:var(--muted);line-height:1.8;margin-top:8px}.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.person-card{background:white;border:1px solid var(--line);border-radius:13px;padding:23px}.person-card header{display:flex;align-items:center;justify-content:space-between;gap:10px}.person-card p{line-height:1.8;margin:12px 0;color:#52697d}.person-card button{margin-top:7px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap;font-size:15px}td,th{padding:17px 22px;border-bottom:1px solid var(--line)}th{background:#f2f6fa;color:#3f5b72}tr:last-child td{border:0}td small{display:block;margin-top:6px}.empty{text-align:center;padding:48px 20px;color:#5d7181;line-height:1.9}.empty strong{display:block;color:#2b4c65;font-size:19px;margin-bottom:10px}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-story{background:#193f60;color:white;padding:70px 12%;display:flex;flex-direction:column;justify-content:center}.login-story .brand{margin-bottom:70px}.login-story .brand-mark{background:#bcd4e6;color:#173c59}.login-story .brand small{color:#cfdfeb}.login-story h1{font-size:44px;line-height:1.5;font-weight:500}.login-story p{color:#d0dfeb;line-height:2;margin-top:24px}.login-form{display:flex;align-items:center;justify-content:center;padding:40px}.login-card{max-width:390px;width:100%}.login-card h2{font-size:28px}.login-card form{margin-top:30px}.login-card .primary{width:100%;margin-top:10px}.error{color:#a43232;white-space:pre-line;font-size:15px;line-height:1.8;margin-top:12px}.loading{text-align:center;padding:100px}.footer{text-align:center;padding:24px;color:#52697d;font-size:14px}dialog{border:1px solid var(--line);border-radius:16px;width:min(560px,calc(100% - 28px));padding:28px;color:#213e56;max-height:90vh;overflow:auto}dialog::backdrop{background:#102b4066;backdrop-filter:blur(3px)}dialog h2{margin-bottom:20px}.buttons{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:24px}.choice{display:block;width:100%;text-align:left;padding:19px;margin:12px 0}.choice b{display:block;font-size:18px;margin-bottom:8px}.choice small{line-height:1.8;display:block}.choice.selected{border:2px solid #204d73;background:#e9f2f9}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:15px}#toast{display:none;position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:15px 23px;border-radius:10px;background:#183c58;color:white;max-width:90%;z-index:100;font-size:15px;line-height:1.7}#toast.show{display:block}.result-message{white-space:pre-line}.install-note{background:#fff8ec;padding:17px;border-radius:10px;border:1px solid #e4d0ac;line-height:1.9;margin-top:18px}.student-name{font-weight:600}.refresh-note{font-size:13px;color:#5c7184;margin-bottom:15px}
@media(max-width:760px){.login{display:block}.login-story{display:none}.login-form{min-height:100vh;padding:28px}.login-card:before{content:'归途 · 学生出差记录';display:block;color:#204d73;font-size:21px;font-weight:600;margin-bottom:50px}.topbar{padding:18px;align-items:flex-start}.brand small{font-size:11px}.top-actions{justify-content:flex-end;gap:5px;max-width:190px}.top-actions .username{width:100%;text-align:right;font-size:14px}.nav{padding:10px 14px}.page{padding:25px 16px}.heading{align-items:flex-start;flex-wrap:wrap}h1{font-size:26px}.status-hero{grid-template-columns:1fr;padding:24px}.status-hero button{width:100%}.status-hero h2{font-size:25px}.stats{gap:8px}.stat{padding:16px 10px}.stat small{font-size:13px}.stat strong{font-size:26px}.stat p{font-size:12px}.grid,.form-columns{grid-template-columns:1fr}.cycle-head{flex-direction:column}.panel-head{flex-wrap:wrap}.toolbar select{width:100%}dialog{padding:22px}.login-story h1{font-size:36px}}

@media(max-width:760px){.nav{position:fixed;bottom:0;left:0;right:0;z-index:20;border-top:1px solid var(--line);border-bottom:0;justify-content:space-around;padding:9px 12px calc(9px + env(safe-area-inset-bottom));box-shadow:0 -3px 18px #1639540b}.nav button{flex:1;min-height:48px;font-size:16px}.page{padding-bottom:32px}.footer{padding-bottom:calc(100px + env(safe-area-inset-bottom))}.status-hero button{min-height:56px;font-size:18px;font-weight:600}.choice{min-height:110px}.top-actions #install{font-size:13px}.top-actions{max-width:180px}dialog{max-height:calc(100dvh - 40px)}}

input[type="checkbox"]{width:22px;height:22px;min-height:22px;vertical-align:middle;margin:0 8px 0 0;accent-color:#204d73} .notice p,.cycle-note p{overflow-wrap:anywhere}
@media(max-width:760px){.nav button{font-size:14px;padding:8px}.notice button{margin-top:8px}}
