:root { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #152b39; background: #f4f7f5; }
* { box-sizing: border-box; }
body { margin: 0; background: #f4f7f5; color: #152b39; }
a { color: #106552; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #2fc5a5; outline-offset: 2px; }
.hero { color: white; background: linear-gradient(135deg, #103d43 0%, #0a7063 67%, #11927e 100%); padding: 54px max(24px, calc((100vw - 1180px)/2)) 60px; }
.eyebrow { color: #a3f4dc; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { margin: 12px 0 12px; font-size: clamp(34px, 5vw, 58px); font-weight: 800; letter-spacing: -.04em; }
.hero p { max-width: 690px; color: #e3f8f1; font-size: 17px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 16px; border-radius: 10px; font-size: 14px; font-weight: 750; text-decoration: none; transition: transform .15s, background .15s; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: #063f37; background: #b9f4ce; }
.button.secondary { color: #fff; border: 1px solid #91ccbe; background: #ffffff18; }
.shell { max-width: 1228px; padding: 24px; margin: auto; }
.notice { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; border: 1px solid #b7ded3; background: #e7f5ef; border-radius: 12px; padding: 13px 17px; font-size: 14px; }
.notice strong { color: #145c4b; }
.toolbar { display: grid; grid-template-columns: 150px minmax(240px, 1fr) 190px; gap: 14px; align-items: end; margin: 26px 0 27px; }
.stat, .toolbar label { min-height: 76px; display: flex; flex-direction: column; justify-content: center; padding: 10px 16px; border-radius: 13px; background: #fff; border: 1px solid #dfebe5; box-shadow: 0 4px 12px #173a3008; }
.stat strong { color: #116a58; font-size: 28px; line-height: 1; }
.stat span, .toolbar label span { display: block; margin-bottom: 5px; color: #577068; font-size: 12px; font-weight: 750; }
.toolbar input, .toolbar select { width: 100%; border: none; background: transparent; color: #172f3a; outline: none; font-size: 16px; }
.toolbar input::placeholder { color: #91a39e; }
.results-heading { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.results-heading h2 { margin: 0; font-size: 21px; font-weight: 800; }
.results-heading span { color: #667c72; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card { display: flex; flex-direction: column; min-width: 0; padding: 20px; border: 1px solid #dfe9e4; border-radius: 15px; background: white; box-shadow: 0 5px 18px #193a3109; }
.card-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.booth { display: inline-block; max-width: 75%; padding: 5px 9px; border-radius: 7px; background: #e5f5ec; color: #12644f; font-size: 12px; font-weight: 800; overflow-wrap: anywhere; }
.id { color: #8a9a94; font-size: 11px; white-space: nowrap; }
.card h3 { margin: 14px 0 3px; color: #162e34; font-size: 18px; font-weight: 800; line-height: 1.4; overflow-wrap: anywhere; }
.chinese-name { color: #647b73; font-size: 13px; line-height: 1.4; }
.description { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; margin: 15px 0; color: #344e52; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; white-space: pre-line; }
.card details { margin: auto 0 13px; border-top: 1px solid #edf2ee; padding-top: 12px; font-size: 13px; }
.card summary { color: #457467; cursor: pointer; font-weight: 700; }
.card details p { white-space: pre-line; line-height: 1.6; color: #435c5a; }
.official-link { align-self: start; font-size: 13px; font-weight: 800; text-decoration: none; }
.official-link:hover { text-decoration: underline; }
.more { display: block; margin: 24px auto; padding: 11px 23px; border: 1px solid #0b8067; border-radius: 10px; background: #fff; color: #086a56; cursor: pointer; font-weight: 800; }
.more:hover { background: #e6f5ee; }
.state { margin: 25px 0; padding: 24px; border: 1px dashed #bed5ca; border-radius: 12px; background: white; }
.state.error { color: #912f35; border-color: #ecc8cb; }
footer { margin: 42px 0 12px; color: #71827a; font-size: 12px; line-height: 1.5; }
@media (max-width: 880px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .hero { padding: 38px 20px 44px; } .shell { padding: 16px; } .toolbar { grid-template-columns: 1fr 1fr; } .toolbar .stat { grid-column: span 2; min-height: 65px; } .toolbar .search { grid-column: span 2; } .toolbar .hall-filter { grid-column: span 2; } .cards { grid-template-columns: 1fr; } }
.auth-shell { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; background: radial-gradient(circle at top, #d6f0e4, #f4f7f5 56%); }
.auth-brand { margin-bottom: 18px; color: #116752; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.auth-card { width: min(100%, 430px); padding: 32px; border: 1px solid #d7e8df; border-radius: 18px; background: #fff; box-shadow: 0 16px 40px #173a311a; }
.auth-card h1 { margin: 0 0 8px; font-size: 28px; font-weight: 800; }
.auth-card p { color: #5c746b; font-size: 14px; line-height: 1.6; }
.auth-card form { display: grid; gap: 14px; margin-top: 24px; }
.auth-card label { display: grid; gap: 6px; color: #2e4943; font-size: 13px; font-weight: 750; }
.auth-card input { width: 100%; min-height: 43px; border: 1px solid #cbded4; border-radius: 9px; padding: 9px 11px; font-size: 16px; }
.auth-card small { color: #64796f; }
.auth-card form button { min-height: 44px; margin-top: 2px; border: none; border-radius: 9px; background: #0b705b; color: #fff; font-weight: 800; cursor: pointer; }
.auth-card form button:disabled { opacity: .6; cursor: wait; }
.switch-mode { display: block; margin: 17px auto 0; padding: 4px; border: 0; background: none; color: #0b705b; cursor: pointer; font-size: 13px; font-weight: 750; }
.auth-error { padding: 9px 11px; border-radius: 8px; background: #fff0f0; color: #9c3038; font-size: 13px; }
.auth-foot { max-width: 430px; margin-top: 18px; color: #73877d; font-size: 12px; text-align: center; }
.session-bar { display: flex; justify-content: flex-end; align-items: center; gap: 14px; padding: 8px 24px; background: #082e32; color: white; font-size: 12px; }
.session-bar button { border: 0; background: none; color: #a9ecd3; font-weight: 700; cursor: pointer; }
.workspace-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 12px; }
.workspace-tabs button { border: 1px solid #bddbd0; background: white; color: #245347; border-radius: 10px; padding: 11px 16px; font-weight: 800; cursor: pointer; }
.workspace-tabs button.active { background: #0b705b; border-color: #0b705b; color: white; }
.workspace-status { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin: 0 0 18px; color: #4c665d; font-size: 13px; }
.workspace-status span { margin-right: auto; }
.workspace-status button, .card-actions button, .note-actions button, .plan-controls button { border: 1px solid #b9d6c9; border-radius: 8px; padding: 7px 10px; background: white; color: #0d6652; font-weight: 750; cursor: pointer; }
.workspace-status button:hover, .card-actions button:hover, .note-actions button:hover, .plan-controls button:hover { background: #e6f6ef; }
.workspace-status button:disabled, .plan-controls button:disabled { opacity: .4; cursor: not-allowed; }
.offline-banner { margin-top: 12px; padding: 13px 16px; border-radius: 10px; border: 1px solid #e3bd70; background: #fff5de; color: #76571e; font-size: 13px; }
.favorite-filter { display: inline-flex; gap: 7px; align-items: center; margin: 0 0 20px; color: #325c4e; font-size: 13px; font-weight: 750; }
.card-actions { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 0; }
.card-actions button.selected { background: #e3f5e9; border-color: #79bd93; color: #0d6641; }
.card .translation { color: #194a41; }
.prep-details, .note-details { margin-top: 9px !important; }
.prep-details ol { padding-left: 20px; color: #405b52; line-height: 1.55; }
.prep-details li { margin: 6px 0; }
.note-details textarea { width: 100%; min-height: 130px; margin-top: 10px; padding: 10px; border: 1px solid #bcd2c7; border-radius: 8px; resize: vertical; font: inherit; line-height: 1.5; }
.note-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 8px; }
.note-actions small { color: #607970; }
.plan-heading h2, .briefing h2 { margin-bottom: 8px; }
.plan-heading p, .briefing p { color: #607970; font-size: 14px; line-height: 1.6; }
.plan-list { display: grid; gap: 9px; margin-top: 18px; }
.plan-item { display: flex; gap: 14px; align-items: center; background: white; border: 1px solid #dce9e1; border-radius: 12px; padding: 12px 16px; }
.plan-number { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #d9efe3; color: #0a7157; }
.plan-main { flex: 1; min-width: 0; }
.plan-main h3 { margin: 6px 0 2px; font-size: 16px; overflow-wrap: anywhere; }
.plan-main small { color: #688076; }
.plan-controls { display: flex; gap: 5px; flex-wrap: wrap; }
.briefing { background: white; border: 1px solid #dce9e1; border-radius: 14px; padding: 20px; }
.briefing pre { overflow-wrap: anywhere; white-space: pre-wrap; font-family: inherit; line-height: 1.6; padding: 16px; background: #f2f7f3; border-radius: 9px; }
.briefing .button { border: 0; cursor: pointer; }
@media (max-width: 620px) { .workspace-tabs button { flex: 1; padding: 10px 7px; font-size: 12px; } .plan-item { align-items: flex-start; } .plan-controls { width: 70px; } .plan-controls button { width: 100%; } .workspace-status span { width: 100%; } }
