:root{font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#1f2328;background:#f6f7f9;--line: #d8dee4;--muted: #59636e;--primary: #0b6bcb;--danger: #b42318;--ok: #1a7f37}*{box-sizing:border-box}body{margin:0}h1,h2,h3{margin:0 0 12px}h2{font-size:1.15rem}h3{font-size:1rem}.muted{color:var(--muted)}.small{font-size:.85rem}.error-text{color:var(--danger)}.centered{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px 16px}.brand{font-size:clamp(2rem,9vw,3rem);letter-spacing:.04em}.page{min-height:100vh}.topbar{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 16px;background:#fff;border-bottom:1px solid var(--line)}.tabs{display:flex;gap:4px;overflow-x:auto;padding:8px 12px 0;background:#fff;border-bottom:1px solid var(--line)}.tab{border:0;background:none;padding:10px 12px;font:inherit;color:var(--muted);border-bottom:2px solid transparent;white-space:nowrap;cursor:pointer}.tab.active{color:var(--primary);border-bottom-color:var(--primary);font-weight:600}.content{max-width:960px;margin:0 auto;padding:16px 12px 48px;display:flex;flex-direction:column;gap:16px}.card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:16px;width:100%}.narrow{max-width:380px}.form{display:flex;flex-direction:column;gap:12px}.inline-block{border-top:1px dashed var(--line);padding-top:12px;margin-top:8px}.grid2{display:grid;grid-template-columns:1fr;gap:12px}@media(min-width:640px){.grid2{grid-template-columns:1fr 1fr}}label{display:flex;flex-direction:column;gap:4px;font-size:.9rem;color:var(--muted)}input,select{font:inherit;color:#1f2328;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;min-height:44px}input:focus,select:focus{outline:2px solid #b6d4f5;border-color:var(--primary)}.btn{font:inherit;border:1px solid var(--line);background:#fff;color:#1f2328;border-radius:8px;padding:10px 14px;min-height:44px;cursor:pointer}.btn:disabled{opacity:.6;cursor:default}.btn.primary{background:var(--primary);border-color:var(--primary);color:#fff;font-weight:600}.btn.link{border:0;background:none;color:var(--primary);padding:6px 8px;min-height:auto}.btn.small{padding:6px 10px;min-height:36px;font-size:.9rem}.list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.list>li:not(.item){display:flex;align-items:center;gap:8px;flex-wrap:wrap}.item{border:1px solid var(--line);border-radius:8px;padding:12px;display:flex;flex-direction:column;gap:8px}.sub{padding-left:8px;border-left:3px solid #eef2f6;display:flex;flex-direction:column;gap:8px}.sub-item{background:#fafbfc}.item-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;flex-wrap:wrap}.actions{display:flex;gap:6px;flex-wrap:wrap}.inline-form{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.inline-form input,.inline-form select{flex:1 1 160px;min-height:36px;padding:6px 10px}.chips{display:flex;gap:6px;flex-wrap:wrap}.chip{display:inline-flex;align-items:center;gap:4px;background:#eef4fb;border-radius:999px;padding:4px 10px;font-size:.85rem}.chip-x{border:0;background:none;cursor:pointer;font-size:1rem;line-height:1;color:var(--muted);padding:0 2px}.badge{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:999px;font-size:.8rem;background:#e5f4e4;color:var(--ok)}.badge.locked,.badge.suspended{background:#fbebeb;color:var(--danger)}.info{display:grid;grid-template-columns:max-content 1fr;gap:6px 16px;margin:0}.info dt{color:var(--muted)}.info dd{margin:0}.toasts{position:fixed;left:50%;bottom:16px;transform:translate(-50%);display:flex;flex-direction:column;gap:8px;z-index:50;width:min(92vw,420px)}.toast{padding:12px 14px;border-radius:8px;color:#fff;background:var(--ok);box-shadow:0 4px 16px #00000026}.toast.error{background:var(--danger)}.checklist{display:grid;grid-template-columns:1fr;gap:6px}@media(min-width:640px){.checklist{grid-template-columns:1fr 1fr}}.check{flex-direction:row;align-items:center;gap:8px;color:#1f2328;font-size:.95rem}.check input{min-height:auto;width:18px;height:18px}.check.disabled{color:var(--muted)}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;word-break:break-word}.stops{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:4px}.stop-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.stop-row select{flex:1 1 160px;min-height:40px}.stop-row input[type=number]{width:90px;min-height:40px}.price-row{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.decks{display:flex;gap:16px;flex-wrap:wrap}.deck{display:flex;flex-direction:column;gap:6px}.seat-grid{display:grid;gap:6px;padding:8px;border:1px solid var(--line);border-radius:12px;background:#fafbfc}.seat{height:44px;border-radius:8px;border:1px dashed #d0d7de;background:transparent;font:inherit;font-size:.8rem;font-weight:600;padding:0;cursor:pointer;color:#1f2328}.seat:disabled{cursor:default}.seat.ghe{border:1px solid #8cb4e0;background:#e8f1fb}.seat.giuong{border:1px solid #9fcf9b;background:#e9f6e8;height:56px}.seat.priority{box-shadow:inset 0 0 0 2px #e3a008}.seat.nosell{background:#eceff2;border-color:#c4cbd2;color:var(--muted)}.seat.selected{outline:3px solid var(--primary)}.seat.sample{display:inline-block;width:16px;height:16px;vertical-align:middle;margin:0 4px 0 10px}.warn{margin:0;padding:8px 12px 8px 28px;border-radius:8px;background:#fff8e6;color:#7a5200}.upload{border:2px dashed #b6d4f5;border-radius:10px;padding:12px;background:#f5f9fe;color:#1f2328;gap:8px}.upload input[type=file]{min-height:auto;border:0;padding:0;background:none}.badge.warn-badge{background:#fff1d6;color:#8a5a00}.state-het_han{color:var(--danger);font-weight:600}.state-sap_het{color:#a86b00;font-weight:600}.state-thieu{color:var(--muted)}.state-con_han,.state-co{color:var(--ok)}.sides{display:grid;grid-template-columns:1fr;gap:8px}@media(min-width:640px){.sides{grid-template-columns:1fr 1fr}}.upload.done{border-color:#9fcf9b;background:#eef8ed}
