.workspace-tools{width:min(760px,calc(100vw - 32px));max-width:760px;max-height:calc(100dvh - 40px);padding:26px;border:1px solid var(--line,#e5e9f1);border-radius:22px;color:var(--ink,#1e293b);background:#fff;overflow:auto;box-shadow:0 24px 80px #18264126}
.workspace-tools::backdrop{background:#18264170;backdrop-filter:blur(3px)}
.wt-heading,.wt-reminder-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.wt-heading h2{font-size:1.35rem;line-height:1.5}.wt-eyebrow{color:#5368bd;font-size:.66rem;font-weight:750;letter-spacing:.15em;margin:0 0 5px}.wt-subtitle{margin:8px 0 20px;color:var(--muted,#738097);font-size:.87rem;line-height:1.7}.wt-close{flex:0 0 44px;min-height:44px;border-radius:50%;font-size:1.8rem;line-height:1;background:#f2f4f9}.wt-close:hover{background:#e9edf8}
.wt-tabs{display:flex;gap:4px;padding:5px;margin-bottom:20px;overflow-x:auto;border-radius:14px;background:#f2f4f9;scrollbar-width:thin}.wt-tab{flex:1;min-height:44px;white-space:nowrap;border-radius:10px;padding:10px 12px;font-size:.84rem;font-weight:650;color:#65738c}.wt-tab[aria-selected=true]{background:white;color:#3555bd;box-shadow:0 2px 7px #31487416}.wt-panel{min-width:0;outline-offset:5px}.wt-panel> .wt-note:first-child{margin-bottom:16px}.wt-note{font-size:.83rem;color:#6a7790;line-height:1.75;overflow-wrap:anywhere}.wt-important{padding:14px 16px;background:#f0f5ff;border:1px solid #dfe8ff;border-radius:13px;color:#49628c}.wt-error{padding:12px;border-radius:10px;background:#fff1f0;color:#a53036;font-size:.87rem;line-height:1.6;margin:12px 0;overflow-wrap:anywhere}.wt-empty{padding:42px 24px;text-align:center;border:1px dashed #d9e0ed;border-radius:16px;background:#fafbfe}
.wt-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:10px 13px;border-radius:10px;font-size:.8rem;font-weight:600;line-height:1.4;text-align:center;white-space:normal;overflow-wrap:anywhere}.wt-action.secondary{background:#f2f4f9;border:1px solid #e3e8f1}.wt-action.primary{background:#3e5cda;color:#fff}.wt-action.wt-remove{color:#a8454c;background:transparent}.wt-card-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.wt-file-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.wt-file-card{min-width:0;border:1px solid #e3e8f1;border-radius:16px;background:white;overflow:hidden}.wt-file-image{display:block;width:100%;aspect-ratio:16/10;object-fit:contain;background:#f1f3f8}.wt-file-icon{height:116px;display:grid;place-items:center;background:linear-gradient(130deg,#f0f4ff,#f3f8f8);color:#6576a6;font-size:.9rem;font-weight:700}.wt-file-info{padding:15px}.wt-file-info h3,.wt-reminder-card h3,.wt-service-card h3{font-size:.94rem;line-height:1.55;overflow-wrap:anywhere;min-width:0}.wt-file-info .wt-note{font-size:.73rem;margin-top:4px}.wt-file-info .wt-action{font-size:.76rem;padding:8px 10px}.wt-section-heading{font-size:.94rem;margin:25px 0 12px}
.wt-image-form label,.wt-reminder-form label{font-size:.86rem;line-height:1.6;margin-top:15px}.wt-image-form label:first-child,.wt-reminder-form label:first-child{margin-top:0}.wt-image-form textarea{margin-top:8px;min-height:120px}.wt-image-form>.wt-note{margin:12px 0}.wt-image-form>.wt-action,.wt-reminder-form>.wt-action{margin-top:12px}.wt-generation-status{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:16px;padding:14px;background:#f1f5ff;border-radius:12px;color:#465d9a;font-size:.83rem;line-height:1.7}.wt-elapsed{font-variant-numeric:tabular-nums;color:#6e7b99;white-space:nowrap}.wt-spinner{width:17px;height:17px;flex:0 0 17px;border-radius:50%;border:2px solid #c8d3f2;border-top-color:#4362cf;animation:wt-spin 1s linear infinite}@keyframes wt-spin{to{transform:rotate(360deg)}}
.wt-reminder-form{margin:18px 0 24px;padding:18px;border:1px solid #e3e8f1;border-radius:15px;background:#fafbfe}.wt-form-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:14px}.wt-form-grid label:first-child{margin-top:15px}.wt-reminder-form input,.wt-reminder-form select{width:100%;min-width:0;min-height:44px;margin-top:8px;font:inherit;font-weight:400;border:1px solid #dbe1ed;border-radius:9px;padding:10px;color:var(--ink,#1e293b);background:#fff}.wt-reminder-form>.wt-note{margin-top:10px;font-size:.74rem}.wt-reminder-list{display:grid;gap:11px}.wt-reminder-card,.wt-service-card{padding:17px;border:1px solid #e3e8f1;border-radius:15px;background:white}.wt-reminder-card.is-due{border-color:#eac88f;background:#fffaf0}.wt-reminder-card>.wt-note,.wt-service-card>.wt-note{margin-top:6px}.wt-status-pill{flex-shrink:0;max-width:45%;border-radius:20px;background:#edf1fa;padding:5px 9px;font-size:.69rem;line-height:1.5;color:#5a6a90;overflow-wrap:anywhere}.is-due .wt-status-pill{background:#fff0cd;color:#946720}.wt-service-card{margin:12px 0}.wt-service-card>.wt-action{margin-top:13px}
@media(max-width:600px){.workspace-tools{width:100vw;max-width:none;max-height:94dvh;margin:auto 0 0;padding:20px 16px max(20px,env(safe-area-inset-bottom));border-radius:22px 22px 0 0;border-bottom:0}.wt-tabs{margin-left:-2px;margin-right:-2px}.wt-tab{flex:0 0 auto;padding:10px 13px;font-size:.81rem}.wt-file-grid{grid-template-columns:minmax(0,1fr)}.wt-file-image{max-height:300px}.wt-file-icon{height:82px}.wt-form-grid{grid-template-columns:1fr}.wt-form-grid label{margin-top:5px}.wt-reminder-form{padding:14px}.wt-heading{align-items:center}.wt-reminder-top{gap:10px}.wt-card-actions .wt-action{flex:1}.wt-card-actions .wt-remove{flex-basis:100%}.wt-file-info .wt-action{font-size:.8rem}}
@media(prefers-reduced-motion:reduce){.wt-spinner{animation:none}}

.wt-storage{padding:14px;margin-bottom:18px;border:1px solid var(--warm-border,#ded8c9);border-radius:14px;background:var(--warm-surface,#fffdf9)}
.wt-storage strong{display:block;font-size:14px;overflow-wrap:anywhere}
.wt-storage .wt-note{margin:8px 0 0}
.wt-image-form select{width:100%;min-width:0;min-height:44px;padding:10px;border:1px solid #d9d4c8;border-radius:10px;background:#fffdf9;color:#243f35;font:inherit}
