@charset "UTF-8";
:root{color-scheme:light;--ink:#302b49;--muted:#77738a;--purple:#7360bd;--purple-dark:#59459d;--line:#eae7f0;--surface:#fff;--bg:#f6f5fa;--danger:#b94353;--radius:20px;--shadow:0 7px 30px #5c49820a;font-family:-apple-system,BlinkMacSystemFont,"PingFang TC","Noto Sans TC","Microsoft JhengHei",sans-serif;font-size:14px}
*{box-sizing:border-box}
body{margin:0;background:radial-gradient(ellipse at 0 0,#ede7fa 0,transparent 45%),radial-gradient(ellipse at 100% 0,#e6f1f8 0,transparent 42%),var(--bg);color:var(--ink);line-height:1.65;min-height:100vh}
button,input,textarea,select{font:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button,a{touch-action:manipulation}
button{cursor:pointer}
a{color:var(--purple-dark);text-underline-offset:4px}
button:disabled,input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;opacity:.5}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex="0"]:focus-visible{outline:3px solid #a395d9;outline-offset:3px}
h1,h2,h3,p{margin:0}
h1{font-size:32px;font-weight:750;letter-spacing:.03em;line-height:1.4;overflow-wrap:anywhere}
h2{font-size:20px;font-weight:700;letter-spacing:.02em}
h3{font-size:16px}
small{font-size:12px}
fieldset{border:0;padding:0;margin:0;min-width:0}
label{display:block;font-size:13px;font-weight:650;margin-bottom:7px}
input:not([type="checkbox"]),select,textarea{width:100%;min-width:0;background:#fff;color:var(--ink);border:1px solid #ddd9e8;border-radius:10px;padding:10px 12px;min-height:43px;transition:border-color .15s,box-shadow .15s}
input::placeholder,textarea::placeholder{color:#9993a8}
input:hover,select:hover,textarea:hover{border-color:#b8afd3}
textarea{resize:vertical}
input[type="checkbox"]{width:18px;height:18px;accent-color:var(--purple);flex-shrink:0}
code{font-size:12px;background:#f0edf7;padding:2px 5px;border-radius:4px;overflow-wrap:anywhere}
summary{cursor:pointer;font-weight:650;color:var(--purple-dark);padding:14px 0}
summary::marker{color:var(--purple)}
[hidden]{display:none!important}
.workspace{max-width:1344px;padding:0 44px;margin:auto}
.topbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:28px 0 23px;border-bottom:1px solid #dfdaeb}
.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--ink);font-size:17px;font-weight:700;letter-spacing:.04em;min-width:0}
.brand small{display:block;font-size:11px;letter-spacing:.06em;color:var(--muted);font-weight:400}
.brand-mark{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:13px;background:#8171bb;color:#fff;font-size:23px;box-shadow:0 5px 12px #7160a829}
.header-actions{display:flex;align-items:center;gap:10px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:9px 17px;border-radius:10px;border:1px solid transparent;text-decoration:none;font-size:13px;font-weight:650;line-height:1.6;transition:background .15s,box-shadow .15s;flex-shrink:0}
.button.primary{background:var(--purple);color:#fff;box-shadow:0 4px 10px #7360bd14}
.button.primary:hover:not(:disabled){background:var(--purple-dark)}
.button.secondary{background:#fff;border-color:#e1dcea;color:#67538f}
.button.secondary:hover:not(:disabled){background:#f4f0fc;border-color:#c7bbdf}
.button.quiet{color:var(--muted);background:transparent}
.button.quiet:hover:not(:disabled){background:#ede9f5;color:var(--purple-dark)}
.button.danger{background:#b94353;color:#fff}
.button.danger:hover:not(:disabled){background:#9a3040}
.button.small{padding:5px 10px;min-height:34px;font-size:12px}
.button.full-width{width:100%}
.icon-button{display:inline-grid;place-items:center;min-width:36px;min-height:36px;padding:0;border:1px solid #e8e2f0;border-radius:9px;background:#fff;color:var(--purple);font-size:23px;line-height:1}
.icon-button:hover:not(:disabled){background:#f0ebfa}
.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:31px 0 25px}
.page-heading .muted{margin-top:8px}
.eyebrow,.section-kicker{font-size:11px;letter-spacing:.12em;font-weight:650;color:#8c7dab;display:block;margin-bottom:8px}
.muted{color:var(--muted);font-size:13px;line-height:1.8}
.badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:7px;font-size:11px;font-weight:600;white-space:nowrap}
.badge::before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor;flex-shrink:0}
.badge.neutral{color:#7c748f;background:#ece8f3}
.badge.available,.badge.success,.badge.sent{color:#31735e;background:#e8f4ee}
.badge.pending,.badge.booked,.badge.warning{color:#96713e;background:#fcf1df}
.badge.hidden,.badge.cancelled{color:#817a8e;background:#eeedf2}
.badge.sold_out,.badge.failed,.badge.error{color:#a75866;background:#fae9ed}
.badge.handled{color:#52799a;background:#eaf2fa}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:25px}
.stat-card{position:relative;padding:20px 22px;border-radius:16px;border:1px solid #ffffffc2;min-width:0}
.stat-card.lavender{background:#ede7f8}
.stat-card.blue{background:#e5eff8}
.stat-card.peach{background:#faf0e9}
.stat-card.mint{background:#e6f1ee}
.stat-card p{font-size:13px;color:#635c76;font-weight:600}
.stat-card>div{display:flex;align-items:baseline;gap:9px;margin:8px 0 3px}
.stat-card strong{font-size:33px;font-weight:700;letter-spacing:.02em;line-height:1.3;font-variant-numeric:tabular-nums}
.stat-card div>span{font-size:12px;color:var(--muted)}
.stat-card small{color:#817a91;font-size:11px}
.stat-icon{position:absolute;right:19px;top:19px;display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#ffffff80;color:#9788b8;font-size:20px}
.card{background:var(--surface);border:1px solid #e9e5f0;border-radius:var(--radius);box-shadow:var(--shadow);min-width:0}
.login-card{display:grid;grid-template-columns:1fr minmax(260px,380px);gap:40px;padding:28px 32px;margin-bottom:24px}
.login-card .muted{margin:8px 0 17px}
.login-card form{align-self:center}
.field-help{font-size:11px;line-height:1.8;color:var(--muted);margin-top:7px;overflow-wrap:anywhere}
.login-card .field-help{margin:8px 0 13px}
.notice,.demo-banner{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:15px 20px;border-radius:12px;margin-bottom:20px;font-size:13px}
.notice strong,.demo-banner strong{font-size:13px;display:block}
.notice p{font-size:12px;margin-top:3px;overflow-wrap:anywhere}
.notice.warning{background:#fff6e9;border:1px solid #f3e1c5;color:#84653d}
.notice.error{background:#fff0f2;border:1px solid #f1d9df;color:#9d4a59}
.demo-banner{background:#f0e8fd;border:1px solid #dacaf4;color:#644b92;margin-top:22px}
.demo-banner span{display:block;font-size:12px;margin-top:2px}
.tabs-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:25px 0 18px;min-width:0}
.tabs{display:flex;gap:5px;background:#eae6f2;padding:5px;border-radius:12px;max-width:100%}
.tab{background:transparent;border:0;color:#80758f;font-size:13px;font-weight:650;display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:8px 19px;border-radius:9px;white-space:nowrap}
.tab[aria-selected="true"]{background:#fff;box-shadow:0 3px 8px #614d8510;color:var(--purple-dark)}
.tab-count{display:inline-flex;align-items:center;justify-content:center;font-size:10px;min-width:21px;height:20px;padding:0 5px;border-radius:5px;background:#ede8f7;color:#84739f}
.sync-tools{display:flex;align-items:center;gap:10px;color:#91899e;font-size:11px;flex-shrink:0}
.panel.card{padding:26px 28px 0;overflow:hidden}
.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:23px}
.section-heading .muted{margin-top:5px}
.filters{display:flex;align-items:flex-end;gap:12px;margin:0 0 21px;min-width:0}
.search-field{position:relative;flex:1;min-width:160px}
.search-field>span{position:absolute;left:13px;top:5px;font-size:23px;color:#a49ab7;pointer-events:none}
.search-field input:not([type="checkbox"]){padding-left:39px;background:#fbfafd}
.filter-field{width:150px;min-width:0}
.filter-field label{font-size:11px;color:var(--muted);margin-bottom:4px}
.filter-field input,.filter-field select{font-size:12px}
.table-wrap{width:100%;overflow:auto;border:1px solid var(--line);border-radius:11px;scrollbar-width:thin;scrollbar-color:#d8d0e8 transparent}
table{width:100%;border-collapse:collapse;text-align:left;min-width:860px;font-size:12px}
thead{background:#f7f5fb}
th{color:#8b829b;font-weight:600;font-size:11px;padding:13px 14px;white-space:nowrap}
td{padding:18px 14px;border-top:1px solid #eeebf3;vertical-align:middle;max-width:260px;overflow-wrap:anywhere}
tbody tr:hover{background:#fcfbfe}
.cell-title{font-weight:650;color:#514662;font-size:12px;display:block;line-height:1.7}
.cell-detail{font-size:10px;color:#978eaa;display:block;margin-top:3px;line-height:1.65}
.cell-date{white-space:nowrap;font-variant-numeric:tabular-nums;color:#80758f}
.quantity{font-size:18px;font-weight:700;font-variant-numeric:tabular-nums}
.row-actions{display:flex;align-items:center;gap:4px;flex-wrap:wrap;min-width:152px}
.row-button{background:none;border:0;color:#8270a1;font-size:11px;min-height:34px;padding:5px 7px;border-radius:6px;white-space:nowrap}
.row-button:hover:not(:disabled){background:#f0eaf9}
.row-button.danger{color:#b3727e}
.row-button:disabled{color:#aea6b9}
.table-footer{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:17px;padding:0 0 22px;font-size:10px;color:#9a92a6}
.empty-state{padding:48px 20px;text-align:center;border:1px dashed #e1d9ee;border-radius:13px;background:#fdfcfe}
.empty-icon{display:grid;place-items:center;border-radius:16px;width:54px;height:54px;margin:0 auto 15px;background:#f1ecf9;color:#a391c3;font-size:25px}
.empty-state h3{color:#6e6184;font-size:16px}
.empty-state p{color:#9a90a7;font-size:12px;margin:7px auto 0;max-width:380px}
.empty-state .button{margin-top:17px}
.settings-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:22px;align-items:start}
.settings-main{display:grid;gap:22px;min-width:0}
.settings-main>.card,.preview-card{padding:27px}
.field{margin-bottom:19px}
.required{font-size:10px;font-weight:400;color:#a295b3;margin-left:6px}
.form-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;padding-top:8px}
.form-footer .muted{font-size:11px}
.setup-checklist{list-style:none;padding:0;margin:0}
.setup-checklist>li{display:flex;align-items:center;gap:12px;border-bottom:1px solid #f0edf5;padding:16px 0}
.setup-checklist>li>div{flex:1;min-width:0}
.setup-checklist strong{font-size:12px}
.setup-checklist p{font-size:11px;color:var(--muted);margin-top:2px}
.setup-checklist a{font-size:11px;text-decoration:none}
.check-dot{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#f1eef6;color:#a49ab6;font-size:16px;flex-shrink:0}
.check-dot.ready{background:#e7f5ee;color:#3c8b6a}
.setup-card .section-heading{margin-bottom:8px}
.setup-card h2{font-size:18px}
.setup-details p{font-size:12px;color:var(--muted);margin-bottom:15px;line-height:1.9}
.setup-details label{margin-top:18px}
.copy-field{display:flex;gap:8px;min-width:0;margin-bottom:12px}
.copy-field input{font-size:11px;background:#fbfafd}
.chat-preview{background:#eaf0f7;padding:16px;border-radius:15px;margin:23px 0 16px;display:flex;flex-direction:column;gap:13px}
.chat-title{display:flex;align-items:center;gap:8px;font-size:12px;margin-bottom:7px;padding-bottom:15px;border-bottom:1px solid #d9e2ec;min-width:0}
.chat-title strong{min-width:0;overflow-wrap:anywhere;flex:1}
.chat-avatar{display:grid;place-items:center;width:30px;height:30px;background:#fff;border-radius:10px;color:#9580b4;flex-shrink:0}
.preview-label{font-size:9px;color:#8796a8;background:#f5f8fc;border-radius:5px;padding:2px 6px;white-space:nowrap}
.chat-bubble{font-size:12px;border-radius:12px;padding:10px 12px;max-width:90%;line-height:1.8;overflow-wrap:anywhere}
.chat-bubble.incoming{background:#fff;color:#6c6680;align-self:flex-start;border-top-left-radius:3px}
.chat-bubble.outgoing{background:#ded5f1;color:#65538d;align-self:flex-end;border-top-right-radius:3px}
.chat-caption{display:block;font-size:10px;color:#9b92a9;margin-top:5px}
.chat-complete{align-self:center;color:#7d9196;font-size:11px;text-align:center}
.chat-complete span{background:#d6e9e4;color:#4b8d78;border-radius:50%;padding:2px 5px;margin-right:4px}
.page-footer{display:flex;justify-content:space-between;gap:15px;padding:27px 0 30px;font-size:10px;color:#a69bb4;letter-spacing:.04em}
dialog{border:1px solid #e5deef;border-radius:20px;padding:0;width:min(570px,calc(100% - 30px));max-height:calc(100dvh - 40px);color:var(--ink);box-shadow:0 22px 100px #30204433;overflow:auto}
dialog::backdrop{background:#34254766;backdrop-filter:blur(4px)}
#confirmDialog{max-width:440px}
.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:22px 25px 17px;border-bottom:1px solid var(--line)}
.dialog-heading .section-kicker{margin-bottom:3px}
.dialog-body{padding:22px 25px}
.dialog-body>.muted{margin-bottom:19px;font-size:12px}
.dialog-footer{display:flex;justify-content:flex-end;gap:10px;background:#fbf9fd;border-top:1px solid var(--line);padding:17px 25px;position:sticky;bottom:0}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.checkbox-field{display:flex;gap:11px;align-items:flex-start;background:#f6f3fb;border:1px solid #ece4f4;padding:14px;border-radius:10px;margin:9px 0 0}
.checkbox-field input{margin:2px 0 0}
.checkbox-field strong{font-size:12px}
.checkbox-field small{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:3px}
.inline-error{color:var(--danger);background:#fff0f3;border-radius:8px;font-size:12px;padding:10px 12px;margin-top:13px;overflow-wrap:anywhere}
.confirm-description{font-size:13px;line-height:1.9;color:var(--muted);margin-top:12px;white-space:pre-line;overflow-wrap:anywhere}
.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:13px 22px;border-radius:12px;background:#4d3f65;color:#fff;box-shadow:0 8px 28px #3d2a5926;font-size:13px;max-width:calc(100% - 32px);z-index:20;overflow-wrap:anywhere}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:fixed;top:-100px;left:15px;padding:10px 15px;background:#fff;border-radius:8px;z-index:30}
.skip-link:focus{top:10px}
.public-workspace{max-width:1120px}
.public-heading{padding:40px 0 24px;align-items:flex-start}
.public-heading h1{font-size:35px}
.public-heading .eyebrow{margin-bottom:13px}
.public-info{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 20px;background:#ffffff99;border:1px solid #e5e0ee;border-radius:13px;margin-bottom:25px;font-size:12px;color:#8d839d}
.public-info strong{color:#6b5a84;font-size:13px}
.public-info p{margin-top:4px}
.public-controls{display:flex;align-items:flex-end;gap:14px;margin-bottom:22px}
.public-controls .search-field{max-width:500px}
.public-controls>.muted{margin-left:auto;padding-bottom:10px;font-size:12px}
.ticket-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.ticket-card{overflow:hidden;display:flex;flex-direction:column}
.ticket-top{padding:23px 24px 19px;border-bottom:1px dashed #ded5e9;background:linear-gradient(125deg,#faf7fe,#f3f8fd);position:relative}
.ticket-top>div{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:14px}
.ticket-id{font-size:10px;color:#9b8dac;overflow-wrap:anywhere}
.ticket-top h2{font-size:19px;line-height:1.6;overflow-wrap:anywhere}
.ticket-body{padding:20px 24px;display:flex;flex-direction:column;gap:15px;flex:1}
.ticket-facts{display:grid;grid-template-columns:65px minmax(0,1fr);font-size:12px;gap:10px 12px;margin:0}
.ticket-facts dt{color:#a193b0}
.ticket-facts dd{margin:0;color:#675871;overflow-wrap:anywhere}
.ticket-bottom{margin-top:auto;padding-top:17px;border-top:1px solid #f0eaf5;display:flex;align-items:center;justify-content:space-between;gap:15px}
.ticket-bottom .price{font-size:16px;font-weight:700;color:#756095;overflow-wrap:anywhere;min-width:0}
.ticket-bottom .price small{font-weight:400;font-size:10px;display:block;color:#9c90a8;margin-bottom:3px}
.ticket-note{font-size:10px;color:#9f94ab}
.public-note{margin:28px auto 0;text-align:center;font-size:12px;color:#978ca6;max-width:650px}
.public-notice .notice{margin-top:0}
.copy-instruction{font-size:11px;color:#8b7c9e;overflow-wrap:anywhere}
.copy-instruction strong{font-weight:650}
.public-empty{grid-column:1/-1;background:#ffffffb3}
.public-freshness{font-size:11px}
.public-workspace .page-footer{margin-top:25px}
.public-workspace .brand{font-size:15px}
@media(min-width:1500px){.workspace{padding-top:10px}.page-heading{padding-top:38px}}
@media(max-width:1050px){.workspace{padding:0 26px}.tab{padding:8px 13px}.settings-layout{grid-template-columns:minmax(0,1.3fr) minmax(260px,1fr)}.panel.card{padding:22px 21px 0}.stat-card{padding:18px}.stat-icon{right:13px;top:15px}.tabs-bar{flex-wrap:wrap}.sync-tools{margin-left:auto}.stats{gap:12px}.stat-card small{font-size:10px}.filters{flex-wrap:wrap}.filters .search-field{flex-basis:40%}.settings-main>.card,.preview-card{padding:22px}.setup-checklist>li{flex-wrap:wrap}.setup-checklist>li>a,.setup-checklist>li>button{margin-left:37px}.ticket-bottom{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:760px){.workspace{padding:0 18px}.topbar{padding:20px 0;gap:12px}.brand{font-size:14px;gap:9px}.brand small{font-size:9px}.brand-mark{width:38px;height:38px;font-size:20px}.header-actions{gap:4px}.header-actions .button{font-size:11px;padding:8px 10px;min-height:38px}.page-heading{padding:25px 0 20px;gap:15px;align-items:flex-start}.page-heading h1{font-size:26px}.page-heading .muted{font-size:12px}.eyebrow{font-size:10px;letter-spacing:.07em}.page-heading>.badge{font-size:10px;margin-top:2px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stat-card{padding:17px 19px}.stat-card strong{font-size:29px}.stat-card small{font-size:10px}.login-card{grid-template-columns:1fr;gap:24px;padding:24px}.login-card h2{font-size:19px}.login-card .muted br{display:none}.tabs-bar{gap:10px}.tabs{width:100%;justify-content:space-between;padding:4px}.tab{flex:1;gap:6px;font-size:12px;padding:8px 9px;min-height:41px}.tab-count{font-size:9px;min-width:18px;height:18px}.sync-tools{font-size:10px}.section-heading{align-items:flex-start;gap:13px;margin-bottom:19px}.section-heading h2{font-size:18px}.section-heading .muted{font-size:11px}.section-heading>.button{font-size:11px;padding:8px 12px;min-height:39px}.panel.card{padding:20px 18px 0}.filters{gap:10px}.filters .search-field{flex-basis:100%;min-width:0}.filter-field{flex:1;min-width:110px}.filters>.button{font-size:11px;padding:9px 8px}.table-footer{font-size:10px;gap:4px;margin-top:14px;padding-bottom:17px}.table-wrap table{min-width:810px}td{padding:15px 12px}.settings-layout{grid-template-columns:1fr;gap:18px}.preview-card{max-width:100%}.chat-preview{max-width:450px;margin-left:auto;margin-right:auto}.notice,.demo-banner{padding:14px 16px;gap:12px;align-items:flex-start;flex-wrap:wrap}.notice .button,.demo-banner .button{min-height:35px;font-size:11px}.demo-banner span{font-size:11px}.page-footer{font-size:9px;letter-spacing:0;flex-wrap:wrap;gap:5px}.public-heading{flex-direction:column;padding:30px 0 20px;gap:15px}.public-heading h1{font-size:29px}.public-info{padding:15px;align-items:flex-start;flex-wrap:wrap;gap:12px}.public-controls{flex-wrap:wrap;gap:10px}.public-controls .search-field{flex-basis:100%;max-width:none}.public-controls .muted{padding-bottom:0;font-size:11px}.ticket-grid{gap:15px}.ticket-top{padding:20px 19px 17px}.ticket-body{padding:19px}.ticket-top h2{font-size:17px}.ticket-bottom .button{width:100%}.public-workspace .topbar .button{font-size:11px;padding:7px 10px}.ticket-facts{grid-template-columns:55px minmax(0,1fr);gap:10px}.ticket-top>div{flex-wrap:wrap;gap:7px}.public-freshness{font-size:10px}}
@media(max-width:480px){.workspace{padding:0 14px}.brand small{display:none}.topbar{padding:17px 0}.brand{font-size:13px}.header-actions .button{font-size:10px;padding:7px 8px}.page-heading{flex-wrap:wrap;gap:11px}.page-heading h1{font-size:25px}.page-heading>.badge{margin:0}.stats{gap:10px;margin-bottom:20px}.stat-card{padding:15px}.stat-icon{width:23px;height:23px;font-size:17px;right:11px;top:13px}.stat-card p{font-size:12px}.stat-card small{font-size:9px}.login-card{padding:22px 20px}.tabs{gap:1px}.tab{font-size:11px;padding:8px 7px;gap:4px}.tab-count{font-size:9px;min-width:16px;padding:0 3px}.section-heading{flex-wrap:wrap}.section-heading>.button{min-height:38px}.panel.card{padding:19px 14px 0;border-radius:16px}.filter-field{min-width:100px}.filters>.button{width:100%;justify-content:flex-start;min-height:25px;padding:2px 0}.table-footer>span{width:100%}.settings-main>.card,.preview-card{padding:20px}.form-grid{grid-template-columns:1fr;gap:0}.dialog-heading,.dialog-body{padding:20px}.dialog-footer{padding:15px 20px}.dialog-heading h2{font-size:19px}.copy-field{flex-wrap:wrap}.copy-field .button{width:100%}.setup-checklist>li>a{margin-left:37px}.form-footer{flex-wrap:wrap}.form-footer .button{width:100%}.ticket-grid{grid-template-columns:1fr}.ticket-bottom .button{width:auto}.public-workspace .brand-mark{width:34px;height:34px}.public-workspace .brand{font-size:13px}.public-heading h1{font-size:27px}.public-note{text-align:left}.empty-state{padding:35px 15px}.page-footer>span{width:100%}.public-info .button{font-size:11px}.preview-card .field-help{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}
@media(max-width:600px){
  .workspace .record-table-wrap{min-width:0;max-width:100%;border:0;border-radius:0;background:transparent;overflow:visible}
  .workspace .record-table{display:block;position:relative;width:100%;min-width:0;max-width:100%;border:0}
  .workspace .record-table>thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .workspace .record-table>tbody{display:grid;min-width:0;gap:14px}
  .workspace .record-table>tbody>tr{display:block;min-width:0;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface-alt,var(--surface))}
  .workspace .record-table>tbody>tr>td{display:block;width:100%;min-width:0;max-width:none;padding:10px 0;border:0;white-space:normal;overflow-wrap:anywhere;text-align:left}
  .workspace .record-table>tbody>tr>td+td{border-top:1px solid var(--line)}
  .workspace .record-table>tbody>tr>td::before{content:attr(data-label);display:block;margin-bottom:6px;color:var(--muted);font-size:11px;font-weight:600;line-height:1.5}
  .workspace .record-table>tbody>tr>td>div{min-width:0;max-width:100%}
  .workspace .record-table .cell-title{font-size:13px}
  .workspace .record-table .cell-detail{font-size:12px;white-space:normal;overflow-wrap:anywhere}
  .workspace .record-table .row-actions,.workspace .record-table .management-actions{min-width:0;gap:8px}
  .workspace .record-table .row-actions .button,.workspace .record-table .management-actions .button{flex:1 1 110px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
  .workspace .record-table td>.button{max-width:100%;margin-top:6px;white-space:normal;overflow-wrap:anywhere}
}

.inventory-list{container-type:inline-size;min-width:0}
@container (max-width:980px){
  #panel-inventory .inventory-list .record-table-wrap{min-width:0;max-width:100%;border:0;border-radius:0;background:transparent;overflow:visible}
  #panel-inventory .inventory-list .record-table{display:block;width:100%;min-width:0;max-width:100%;table-layout:auto;border:0}
  #panel-inventory .inventory-list .record-table>thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  #panel-inventory .inventory-list .record-table>tbody{display:grid;min-width:0;gap:0}
  #panel-inventory .inventory-list .record-table>tbody>tr{display:block;min-width:0;padding:8px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}
  #panel-inventory .inventory-list .record-table>tbody>tr>td{display:block;width:100%;min-width:0;max-width:none;padding:5px 0;border:0;white-space:normal;overflow-wrap:anywhere;text-align:left;background:transparent}
  #panel-inventory .inventory-list .record-table>tbody>tr>td::before{display:inline-block;min-width:72px;margin:0 8px 0 0;color:var(--muted);font-size:11px;font-weight:600;line-height:1.5;vertical-align:top}
  #panel-inventory .inventory-list .record-table>tbody>tr>td[data-label="選取"]::before{min-width:0}
  #panel-inventory .inventory-list .record-table .cell-title,#panel-inventory .inventory-list .record-table .cell-detail{white-space:normal;overflow-wrap:anywhere}
  #panel-inventory .inventory-list .record-table .row-actions{display:flex;min-width:0;flex-wrap:wrap;gap:8px}
  #panel-inventory .inventory-list .record-table .row-actions .button{flex:1 1 110px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
}
