:root{font-family:Arial,sans-serif;color:#202020;background:#f3f5f5;--green:#00cd91;--purple:#6464ff}*{box-sizing:border-box}body{margin:0}header{background:#202020;color:white;padding:36px max(24px,calc((100% - 1200px)/2));display:flex;align-items:center;justify-content:space-between;gap:24px}header h1{font-size:32px;letter-spacing:-1px;margin:12px 0}header p{color:#c6d2ce}.eyebrow{letter-spacing:4px;color:var(--green);font-weight:800;font-size:15px}.badge{border:1px solid var(--green);color:var(--green);padding:12px 16px;border-radius:30px;font-size:12px;font-weight:bold;white-space:nowrap}main{max-width:1248px;padding:24px;margin:auto}.card{background:white;border:1px solid #e0e5e3;border-radius:16px;padding:24px;margin:20px 0}.section-heading{display:flex;align-items:center;justify-content:space-between}h2{font-size:22px;margin:0 0 16px}h3{margin:12px 0}.muted,small{color:#5c6662;font-size:14px}button{background:var(--green);color:#122a22;border:0;border-radius:9px;padding:13px 18px;cursor:pointer;font-size:15px;font-weight:700;min-height:46px}button:hover{filter:brightness(.96)}button.secondary{background:#eeefff;color:#4545bc}button.danger{background:#fff0ec;color:#9d3b23}button:disabled{opacity:.5;cursor:wait}nav{display:flex;gap:12px;justify-content:flex-end}label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600}input,select{border:1px solid #cbd4d0;border-radius:8px;padding:12px;font-size:16px;min-height:46px;max-width:100%;background:white}input:focus,select:focus{outline:2px solid var(--purple)}.filters{display:flex;gap:14px;flex-wrap:wrap;align-items:end;margin:18px 0}.filters label{flex:1;min-width:150px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stat{border-radius:12px;padding:22px;background:white;border-top:4px solid var(--purple)}.stat strong{display:block;font-size:32px;margin-bottom:8px}.trip{display:grid;grid-template-columns:1fr auto;gap:18px;padding:20px 0;border-top:1px solid #e6ebe8}.trip p{margin:8px 0;line-height:1.5}.pill{display:inline-block;background:#eeefff;color:#4545bc;padding:5px 9px;border-radius:6px;font-size:13px;margin:3px 5px 3px 0}.warning{background:#fff4d5;color:#795114}.error{color:#a33125;background:#fff0ec;border-radius:8px;padding:14px}.success{padding:14px;border-radius:8px;background:#e4fcf4;color:#14583f}#notice:empty{display:none}.photos{display:flex;gap:16px;flex-wrap:wrap}.photos img{height:160px;max-width:260px;object-fit:contain;border-radius:8px;background:#f1f4f3}.point{border-left:3px solid var(--green);padding:6px 18px;margin:18px 0}.history{white-space:pre-wrap;font-size:13px;background:#f5f6f9;padding:16px;border-radius:8px;max-height:350px;overflow:auto}#invitation code{user-select:all;overflow-wrap:anywhere;font-size:18px}.actions{display:flex;gap:10px;flex-wrap:wrap}footer{text-align:center;color:#66706c;padding:24px;font-size:13px}#login{max-width:580px;margin:40px auto}#login-form{display:grid;gap:16px}#sync p{margin:7px 0}a{color:#4545bc}button:focus-visible{outline:3px solid #6464ff;outline-offset:3px}@media(max-width:750px){header{padding:24px;display:block}header h1{font-size:26px}.badge{display:inline-block;margin-top:12px}.stats{grid-template-columns:repeat(2,1fr)}main{padding:12px}.card{padding:18px}.trip{grid-template-columns:1fr}.section-heading{display:block}}
#server{white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;background:#e4fcf4;border-radius:9px}

.button-link{display:inline-block;background:#00cd91;color:#202020;padding:16px;border-radius:10px;font-weight:600;text-decoration:none}.button-link.secondary{background:#6464ff;color:#fff}

.request{border-top:1px solid #ddd;padding:20px 0;overflow-wrap:anywhere}.request textarea{display:block;box-sizing:border-box;width:100%;font:inherit;margin:8px 0;padding:12px;border:1px solid #aaa;border-radius:8px}.request .photos img{max-width:160px;max-height:130px;object-fit:cover}

.photos figure{margin:0;max-width:100%;min-width:0}.photos img{max-width:100%}.photos figcaption{max-width:260px;overflow-wrap:anywhere}

/* 0.6 shared visual tokens: light cards, violet actions, explicit status labels. */
:root{--purple:#5147c9;--surface:#fff;--canvas:#f4f5fa;--radius:16px;background:var(--canvas);font-family:Segoe UI,Arial,sans-serif}header{background:#fff;color:#202020;border-bottom:1px solid #e6e7f0;padding-top:24px;padding-bottom:24px}header p{color:#606779}.eyebrow{color:#5147c9}.badge{color:#12664e;background:#e1f8ef;border:0;white-space:normal}.card,.flight{border:0;box-shadow:0 3px 18px #20204008}.flight{padding:24px;margin:18px 0;border-radius:var(--radius);background:var(--surface);overflow-wrap:anywhere}.flight-head{display:flex;justify-content:space-between;gap:20px}.flight-head strong{font-size:24px;white-space:nowrap}.flight h3{font-size:24px;margin:8px 0}.task-tags{margin:16px 0}.queue-tabs{display:flex;flex-wrap:wrap;gap:10px}.queue-tabs .active,button{background:var(--purple);color:#fff}.secondary{background:#eeedff!important;color:#4035a6!important}.pill.correction{background:#ffe9ec;color:#a02239}.calculation{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;background:#f6f6fb;border-radius:12px;padding:16px}.calculation b{display:block;margin-top:6px}.request{border-color:#ececf3}.request h4{font-size:18px}summary{cursor:pointer;min-height:44px;padding:12px 0;font-weight:600}.empty{text-align:center;padding:48px 12px}#notice:not(:empty){position:sticky;top:8px;z-index:3;box-shadow:0 3px 15px #20202018}#detail{scroll-margin-top:80px}.result:empty{display:none}.message-body{white-space:pre-wrap}#stats{display:none}#stage,#docs{display:none}.filters label:has(#stage),.filters label:has(#docs){display:none}.photos img{width:120px;height:120px;object-fit:contain}.request>label{margin:12px 0}.flight details{min-width:0}.flight p{line-height:1.55}input,textarea,select{min-width:0}nav{margin-bottom:18px}@media(max-width:600px){.flight{padding:16px}.flight-head{display:block}.flight-head strong{display:block;margin-top:14px}.calculation{font-size:13px;padding:10px;gap:6px}.queue-tabs button{flex:1;font-size:13px;padding:10px}.flight h3{font-size:22px}}
