:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#293957;background:#f5f7fb;font-synthesis:none;--primary:#4056a3;--muted:#7d89a2;--border:#e0e5f0;--paper:#fff}
*{box-sizing:border-box}body{margin:0;font-size:15px;line-height:1.6}[hidden]{display:none!important}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}a{color:var(--primary)}button,input,select,textarea,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b6c3ed;outline-offset:3px}button:disabled{opacity:.55;cursor:wait}h1,h2,h3,p{margin-top:0}h1{font-size:34px;letter-spacing:-1px;line-height:1.25;margin-bottom:10px}h2{font-size:24px;letter-spacing:-.5px;line-height:1.4}h3{font-size:17px;margin-bottom:10px}p{color:#75829c}button{touch-action:manipulation}.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:700;color:#8a96b4;margin-bottom:9px}.button{display:inline-flex;justify-content:center;align-items:center;gap:7px;border:1px solid #d9e0f0;border-radius:10px;background:white;min-height:46px;padding:11px 17px;font-size:14px;font-weight:650;line-height:1.5;text-decoration:none}.button.primary{background:var(--primary);border-color:var(--primary);color:white}.button.primary:hover{background:#34478a}.button.danger{background:#fcf0f3;color:#ab485b;border-color:#efcbd4}.button.ghost{background:none}.text-button{border:0;background:none;padding:10px 0;min-height:44px;color:var(--primary);font-size:13px;text-align:left}.notice{background:#edf1fc;border:1px solid #dce3f5;border-radius:10px;padding:13px 16px;color:#6579ab;font-size:13px;line-height:1.8;margin-bottom:18px}.notice.warning{background:#fff7e9;color:#9b7a42;border-color:#f0e0bc}.notice.success{background:#eaf5ef;color:#397453;border-color:#cfe6d8}.form-error{color:#b1485c;font-size:14px;line-height:1.7;white-space:pre-wrap}.muted,.hint{font-size:12px;color:#8b96ac;line-height:1.8}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:19px;font-size:13px;font-weight:600;color:#6e80a3}.field input,.field textarea,.field select{width:100%;border:1px solid #dce3f1;border-radius:9px;background:white;padding:11px 12px;font-size:16px;font-weight:400;color:#293957;min-height:48px;min-width:0}.field textarea{min-height:115px;resize:vertical;line-height:1.7}.field input::placeholder,.field textarea::placeholder{color:#a2aec3}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:15px}.auth-wrap{min-height:100dvh;display:grid;place-items:center;padding:30px 18px;background:linear-gradient(150deg,#f6f8fc,#eaf0fc)}.auth-card{width:100%;max-width:430px;padding:35px;border:1px solid #e0e6f4;background:#ffffffed;border-radius:18px;box-shadow:0 20px 70px #34488708}.auth-card h1{font-size:32px}.auth-card p{font-size:14px;line-height:1.8}.auth-card .button{width:100%;margin-top:6px}.auth-card .hint{font-size:12px;margin:15px 0 0}.auth-card .form-error{margin-bottom:14px}.sidebar{position:fixed;inset:0 auto 0 0;width:235px;border-right:1px solid var(--border);background:white;padding:31px 22px;display:flex;flex-direction:column}.service-name{font-size:27px;font-weight:750;letter-spacing:-1px;line-height:1.3}.service-name>span{display:block;font-size:10px;letter-spacing:.4px;color:#8b98b5;font-weight:500;margin-top:6px}.identity{display:flex;flex-direction:column;gap:5px;margin:35px 0 26px;padding:15px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);overflow-wrap:anywhere}.identity strong{font-size:13px}.identity span{font-size:11px;color:#8b98b1}.nav-button{width:100%;display:block;text-align:left;border:0;background:none;border-radius:9px;min-height:46px;padding:11px 14px;color:#8996b0;font-size:13px;font-weight:600;margin-bottom:7px}.nav-button.active{background:#edf1fc;color:var(--primary)}.sidebar-end{margin-top:auto;display:flex;flex-direction:column}.sidebar-end .text-button{font-size:12px;color:#8a96af}.workspace-body{margin-left:235px}.topbar{height:75px;display:flex;align-items:center;gap:20px;padding:0 38px;border-bottom:1px solid var(--border);background:#f9fafe}.topbar>strong{font-size:13px}.topbar>span{margin-left:auto;font-size:11px;color:#929db4}.account-button{border:1px solid var(--border);border-radius:8px;background:white;min-height:38px;padding:7px 12px;font-size:11px}main{max-width:1250px;padding:36px 38px 50px;margin:auto}.page-intro{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:27px}.page-intro p:not(.eyebrow){font-size:13px;margin-bottom:0}.page-actions{display:flex;gap:10px;flex-shrink:0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:27px}.stat{padding:16px 18px;border:1px solid var(--border);border-radius:11px;background:white;text-align:left;min-height:100px}.stat span{font-size:11px;color:#8a98b3;display:block}.stat b{font-size:29px;font-weight:650;letter-spacing:-1px;color:#425b9e;display:block;line-height:1.4;margin-top:4px}.stat.active{border-color:#9fafd9;background:#edf1fc}.search{display:block;background:white;border:1px solid var(--border);padding:11px 14px;border-radius:10px}.search>span{font-size:10px;letter-spacing:.5px;color:#9aa5bc;display:block}.search input{border:0;background:none;width:100%;outline:0;padding:3px 0;min-height:30px;font-size:15px;color:#334c7a}.filters{display:flex;align-items:end;gap:12px;margin:15px 0 23px}.filters label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#8d9ab3;min-width:0;flex:1}.filters select{border:1px solid var(--border);background:white;color:#6b7fa8;min-height:43px;border-radius:9px;padding:8px 12px;width:100%;min-width:0;font-size:13px}.ticket-list{display:grid;gap:11px}.ticket-card{border:1px solid var(--border);border-radius:12px;background:white;padding:19px 22px;text-align:left;width:100%;display:grid;grid-template-columns:1fr 160px;gap:10px 20px}.ticket-card:hover{border-color:#adbcdf}.ticket-card h3{font-size:15px;line-height:1.55;margin:7px 0}.ticket-card p{font-size:12px;line-height:1.7;margin:0}.card-number{font-size:11px;color:#9ba7bd}.card-top{display:flex;justify-content:space-between;align-items:center;gap:12px;grid-column:1/-1}.card-meta{font-size:12px;color:#8c9bb6;text-align:right}.card-meta span{display:block;margin-top:4px}.card-next{font-size:11px;color:var(--primary);grid-column:1/-1;padding-top:10px;border-top:1px solid #edf1f7}.status{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:6px;font-size:11px;font-weight:650;background:#f0f2f7;color:#8390ac;line-height:1.5}.status:before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}.status.assigned{color:#7d72ae;background:#f1eef9}.status.working{color:#5c7fa6;background:#eaf1f8}.status.pending{color:#b68a42;background:#fcf1dd}.status.rework{color:#b34e62;background:#fbecf0}.status.closed{color:#347755;background:#eaf5ef}.status.cancelled{color:#9096a4;background:#eff0f3}.empty{padding:40px 25px;text-align:center;border:1px dashed #cfd9ed;border-radius:13px;background:#fafbfe}.empty h3{font-size:20px}.empty p{font-size:14px;line-height:1.8;margin-bottom:13px}.empty .button{margin-top:8px}.object-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.object-card{border:1px solid var(--border);background:white;border-radius:12px;padding:23px;min-width:0}.object-card h3{font-size:18px;line-height:1.5;overflow-wrap:anywhere}.object-card p{font-size:13px;line-height:1.8;margin-bottom:5px}.object-card .button{width:100%;margin-top:15px}.object-card .text-button{font-size:12px}.object-label{font-size:10px;letter-spacing:.7px;color:#9ba8bf;margin-bottom:8px}.members{display:grid;gap:11px}.member-card{padding:18px 21px;border:1px solid var(--border);background:white;border-radius:11px;display:flex;justify-content:space-between;align-items:center;gap:15px}.member-card strong{display:block;font-size:15px;overflow-wrap:anywhere}.member-card p{font-size:12px;margin:5px 0 0;overflow-wrap:anywhere}.member-actions{display:flex;gap:14px;flex-shrink:0}.member-actions button{font-size:12px}.pagination{display:flex;gap:18px;justify-content:center;align-items:center;margin-top:25px;font-size:12px;color:#8a98b3}.export-row{margin-top:25px}.mobile-nav{display:none}dialog{border:0;color:#293957;padding:0}dialog::backdrop{background:#1a2d4e65;backdrop-filter:blur(3px)}.ticket-dialog{position:fixed;inset:0 0 0 auto;margin:0;width:590px;max-width:100%;height:100dvh;max-height:100dvh;background:#f6f8fc;overflow:hidden;box-shadow:-15px 0 60px #203a4a15}.ticket-shell{display:flex;flex-direction:column;height:100%}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px 23px;border-bottom:1px solid var(--border);background:#fffffff5;flex-shrink:0}.dialog-heading h2{font-size:21px;margin:0}.dialog-heading .text-button{font-size:14px;font-weight:650}.close-button{width:43px;height:43px;border:1px solid var(--border);border-radius:50%;background:white;font-size:24px;line-height:1;flex-shrink:0}.ticket-scroll{padding:23px 26px 32px;overflow:auto;flex:1;min-height:0;overscroll-behavior:contain;overflow-wrap:anywhere}.ticket-scroll h2{font-size:26px;margin:13px 0 8px}.ticket-address{font-size:14px;color:#7a8db3;line-height:1.8}.ticket-info{display:grid;grid-template-columns:1fr 1fr;gap:1px;border:1px solid var(--border);background:var(--border);border-radius:10px;overflow:hidden;margin:23px 0}.ticket-info>div{padding:15px;background:white;min-width:0}.ticket-info small{font-size:10px;color:#8b9bb8;display:block;margin-bottom:5px}.ticket-info strong{font-size:13px;font-weight:650;line-height:1.7}.detail-section{margin:24px 0}.detail-section p{font-size:14px;white-space:pre-wrap;line-height:1.8;color:#6d80a7}.report-box,.receipt{border:1px solid #d9e2f4;border-radius:11px;background:#edf2fd;padding:17px;margin:22px 0}.report-box>span{font-size:10px;letter-spacing:.6px;color:#8597bf}.report-box p{font-size:14px;white-space:pre-wrap;color:#5c73a3;line-height:1.8;margin:8px 0 0}.receipt{background:#eef7f1;border-color:#d5e9dc}.receipt h3{color:#347755}.receipt p{font-size:13px;line-height:1.8;color:#68977c;margin:0}.timeline-item{border-left:1px solid #dce4f3;padding:0 0 23px 19px;position:relative;margin-left:5px}.timeline-item:before{content:'';position:absolute;width:8px;height:8px;left:-4px;top:7px;background:#aebfdf;border-radius:50%}.timeline-item.accept:before{background:#5e9976}.timeline-item.rework:before{background:#c78390}.event-meta{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap;font-size:12px;color:#637da9}.event-meta time{font-size:10px;color:#9aa8bf}.timeline-item p{font-size:13px;line-height:1.8;color:#7a8eb3;margin:7px 0 0;white-space:pre-wrap}.event-kind{font-size:10px;color:#9ba8bf;margin-top:6px}.ticket-actions{padding:14px 22px calc(15px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:white;flex-shrink:0;display:grid;gap:9px}.ticket-actions .button{width:100%}.ticket-actions .hint{margin-bottom:0}.form-dialog{width:520px;max-width:calc(100% - 24px);max-height:90dvh;border-radius:15px;background:#f7f9fd}.form-inner{padding:0 25px 25px}.form-inner>.dialog-heading{position:sticky;top:0;margin:0 -25px 23px;background:#f7f9fdf5;backdrop-filter:blur(8px);padding:15px 25px;z-index:1}.form-inner>p{font-size:14px;line-height:1.8}.form-footer{display:flex;gap:10px;margin-top:22px}.form-footer .button{flex:1}.quick-comments{display:flex;gap:7px;flex-wrap:wrap;margin:-3px 0 17px}.quick-comments button{border:1px solid #dce3f2;border-radius:20px;background:white;color:#7289ba;padding:9px 12px;font-size:11px;min-height:42px}.comment-submit{width:100%}.link-field{font-size:13px;word-break:break-all;line-height:1.8;border:1px solid var(--border);border-radius:9px;background:white;padding:14px;user-select:all;color:#4056a3}.copy-row{display:flex;gap:10px;margin-top:17px}.copy-row .button{flex:1}.inline-add{margin:-5px 0 20px;display:block}.account-details{padding:15px 0;font-size:14px;line-height:1.8}.account-details strong{display:block;font-size:20px}.account-details span{display:block;color:#8b9ab6}.account-actions{display:grid;gap:10px;margin-top:15px}#toast{position:fixed;bottom:27px;left:calc(50% + 117px);transform:translate(-50%,10px);max-width:calc(100% - 30px);width:max-content;padding:13px 19px;border:1px solid #6074b5;border-radius:10px;background:#344887;color:white;box-shadow:0 5px 25px #263d6215;opacity:0;transition:.2s;pointer-events:none;font-size:13px;z-index:40}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1050px){.sidebar{width:195px;padding:28px 17px}.workspace-body{margin-left:195px}main{padding:29px 25px}.topbar{padding:0 25px}.page-actions{flex-direction:column}.ticket-card{grid-template-columns:1fr 130px}.object-grid{grid-template-columns:1fr}#toast{left:calc(50% + 97px)}}
@media(max-width:700px){html{-webkit-text-size-adjust:100%}body:has(dialog[open]){overflow:hidden}.sidebar{display:none}.workspace-body{margin-left:0}.topbar{height:62px;padding:0 18px;position:sticky;top:0;z-index:3;background:#f8fafeed;backdrop-filter:blur(10px);gap:10px}.topbar>strong{font-size:16px}.topbar>span{font-size:10px}.account-button{display:none}main{max-width:560px;padding:24px 16px calc(105px + env(safe-area-inset-bottom))}.page-intro{display:block;margin-bottom:24px}h1{font-size:31px}.page-intro p:not(.eyebrow){font-size:14px;line-height:1.7}.page-actions{margin-top:17px;gap:9px}.page-actions .button{width:100%;min-height:50px;font-size:15px}.stats{display:flex;overflow-x:auto;gap:9px;margin:0 -16px 24px;padding:0 16px 5px;overscroll-behavior-inline:contain}.stat{flex:0 0 auto;min-width:102px;min-height:83px;padding:12px 14px}.stat span{font-size:12px}.stat b{font-size:26px}.search{padding:9px 13px;border-radius:11px}.search input{font-size:16px;min-height:35px}.search>span{font-size:10px}.filters{display:grid;grid-template-columns:1fr 1fr;gap:12px 9px;margin:15px 0 22px}.filters label{font-size:11px}.filters select{font-size:16px;min-height:47px;padding-left:10px;padding-right:24px}.filters>.text-button{grid-column:1/-1;min-height:30px;font-size:12px;padding:0}.ticket-card{display:flex;flex-direction:column;gap:0;padding:17px;border-radius:13px}.card-top{margin-bottom:8px;gap:8px}.status{font-size:11px}.ticket-card h3{font-size:16px;line-height:1.55;margin:7px 0 10px}.ticket-card p{font-size:13px;line-height:1.8}.card-meta{margin-top:14px;padding-top:12px;border-top:1px solid #edf1f7;text-align:left;font-size:12px}.card-meta span{display:block}.card-next{margin-top:12px;padding-top:10px;font-size:12px;font-weight:650}.mobile-nav{display:flex;position:fixed;inset:auto 0 0;z-index:4;background:#fffffff7;backdrop-filter:blur(12px);border-top:1px solid var(--border);padding:8px 10px calc(9px + env(safe-area-inset-bottom));gap:4px;min-height:69px}.mobile-nav button{flex:1;border:0;background:none;border-radius:9px;color:#8c9dbd;min-height:48px;font-size:12px;font-weight:650;padding:8px 4px}.mobile-nav button.active{background:#edf1fc;color:#4056a3}.button{min-height:49px;font-size:15px;padding:12px 15px}.empty{padding:30px 20px}.empty p{font-size:14px}.empty .button{width:100%}.object-card{padding:21px}.object-card h3{font-size:19px}.object-card p{font-size:14px}.object-card .text-button{font-size:13px}.object-grid{gap:12px}.member-card{display:block;padding:18px}.member-card strong{font-size:16px}.member-card p{font-size:13px}.member-actions{margin-top:12px;gap:20px;flex-wrap:wrap}.member-actions button{font-size:13px}.ticket-dialog{width:100%;border-radius:0}.dialog-heading{padding:12px 17px;min-height:68px}.dialog-heading h2{font-size:22px}.dialog-heading .text-button{font-size:14px}.ticket-scroll{padding:22px 18px 28px;scroll-padding-top:20px}.ticket-scroll h2{font-size:25px;line-height:1.4}.ticket-address{font-size:14px}.ticket-info>div{padding:14px 12px}.ticket-info small{font-size:11px}.ticket-info strong{font-size:14px}.detail-section{margin:24px 0}.detail-section p,.report-box p{font-size:15px}.report-box>span{font-size:11px}.event-meta{font-size:13px}.event-meta time{font-size:11px}.timeline-item p{font-size:14px}.event-kind{font-size:11px}.ticket-actions{padding:12px 16px calc(13px + env(safe-area-inset-bottom));max-height:34dvh;overflow:auto}.ticket-actions .button.danger{min-height:44px}.field{font-size:13px;margin-bottom:19px}.field input,.field select,.field textarea{font-size:16px;min-height:50px}.field textarea{min-height:125px}.field-pair{grid-template-columns:1fr;gap:0}.form-dialog{position:fixed;inset:0;margin:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;border-radius:0;overscroll-behavior:contain}.form-inner{padding:0 18px 25px}.form-inner>.dialog-heading{margin:0 -18px 22px;padding:12px 18px;min-height:70px}.form-inner>p{font-size:14px}.form-footer{position:sticky;bottom:-25px;background:#f7f9fdf5;border-top:1px solid var(--border);padding:13px 18px calc(17px + env(safe-area-inset-bottom));margin:22px -18px -25px;flex-direction:column-reverse;z-index:1}.form-footer .button{width:100%;flex:none}.quick-comments button{font-size:12px;min-height:44px}.notice{font-size:12px;line-height:1.8}.auth-card{padding:28px 24px;border-radius:15px}.auth-wrap{align-items:start;padding-top:55px}.auth-card h1{font-size:29px}.pagination{gap:12px;font-size:12px}.pagination .button{font-size:13px;padding:10px 12px}.copy-row{flex-direction:column}.hint{font-size:11px}#toast{left:50%;bottom:calc(87px + env(safe-area-inset-bottom));font-size:14px;line-height:1.6}}
@media(max-width:360px){main{padding-left:13px;padding-right:13px}.stats{margin-left:-13px;margin-right:-13px;padding-left:13px;padding-right:13px}.filters,.ticket-info{grid-template-columns:1fr}.ticket-card{padding:15px}.auth-wrap{padding:25px 12px}.auth-card{padding:25px 20px}.status{font-size:10px}.card-top{gap:5px}.topbar>span{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
.ops-summary{padding:12px 16px;border:1px solid var(--border);border-radius:12px;background:white;font-size:14px;line-height:1.7}.backup-row{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--border);padding:15px 0;font-size:14px;flex-wrap:wrap}.backup-row small{display:block;color:#6d80a7;margin-top:5px}.backup-row>div{display:flex;gap:14px;flex-wrap:wrap}.backup-row button{min-height:44px;font-size:13px}

.auth-logo{display:block;width:180px;height:180px;object-fit:contain;margin:-14px auto 14px}.sidebar-logo{display:block;width:145px;height:145px;object-fit:contain;margin:0 auto 12px;border-radius:12px;background:#fff}.mobile-service-brand{display:flex;align-items:center;gap:10px}.mobile-service-brand img{display:none;object-fit:contain;background:#fff;border-radius:6px}@media(max-width:760px){.mobile-service-brand img{display:block}.auth-wrap{padding-top:max(20px,env(safe-area-inset-top));padding-bottom:28px}.auth-card{padding-top:24px}.auth-logo{width:155px;height:155px;margin:-8px auto 12px}}

.view-receipt{display:block;color:#5c6f86;font-size:11px;margin-top:6px}.message-bubble{background:#f0f3fa;border:1px solid #e0e6f1;border-radius:14px;padding:15px;margin:14px 0;overflow-wrap:anywhere}.message-bubble.mine{background:#edf2ff;border-color:#cdd8f3}.message-bubble p{white-space:pre-wrap;line-height:1.7;margin:9px 0}.message-bubble time{font-size:11px;color:#61718a}.message-bubble strong{font-size:14px}.inquiry-card .card-next{white-space:normal}.inquiry-dialog textarea{min-height:110px}@media(max-width:700px){.mobile-nav button{font-size:11px;line-height:1.35}.inquiry-dialog .dialog-heading .text-button{font-size:12px}.message-bubble p{font-size:15px}}
