:root{--wine:#4b1915;--wine-dark:#300504;--rose:#d8c1bf;--canvas:#fcf9f8;--surface:#fff;--line:#e5dedb;--text:#1b1c1b;--muted:#645b58;--green:#28563a;--green-bg:#edf6ef;--error:#8d2520;--error-bg:#fff0ed;--radius:8px}*{box-sizing:border-box}body{color:var(--text);background:var(--canvas);margin:0;font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.5}button,input{font:inherit}button,a,label.file-picker{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button,input{border-radius:var(--radius)}input{width:100%;min-height:46px;color:var(--text);background:#fff;border:1px solid #bdb1ac;padding:10px 12px}input:disabled{background:#f5f1ef}label{margin-bottom:7px;font-size:14px;font-weight:600;display:block}a{color:var(--wine)}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.8px;color:var(--wine-dark);margin-bottom:12px;font-family:Georgia,Times New Roman,serif;font-size:36px;font-weight:400;line-height:1.15}h2{margin-bottom:12px;font-size:18px;line-height:1.3}h3{margin-bottom:8px;font-size:16px}p{color:var(--muted)}small{color:var(--muted);font-size:13px}svg{flex-shrink:0}button svg{pointer-events:none}:focus-visible{outline-offset:4px;outline:3px solid #955c4f}::selection{color:var(--wine-dark);background:#e5ceca}.primary,.secondary,.quiet,.text-button,.icon-button{border:1px solid #0000;justify-content:center;align-items:center;gap:9px;min-height:44px;padding:11px 17px;font-size:14px;font-weight:600;line-height:1.3;text-decoration:none;transition:background .15s,color .15s;display:inline-flex}.primary{background:var(--wine);border-color:var(--wine);color:#fff}.primary:hover:not(:disabled){background:var(--wine-dark)}.secondary{color:var(--wine);background:#fff;border-color:#c8b9b3}.secondary:hover:not(:disabled){background:#f6eeeb}.quiet{color:var(--muted);background:0 0}.quiet:hover:not(:disabled){color:var(--wine);background:#f0e9e6}.text-button{color:var(--wine);text-align:left;background:0 0;justify-content:flex-start;padding:8px 0}.text-button:hover{text-decoration:underline}.icon-button{width:44px;min-width:44px;color:var(--muted);background:0 0;padding:9px}.icon-button:hover:not(:disabled){color:var(--wine);background:#f2e9e6}.danger-quiet{color:var(--error)}.full{width:100%}.actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.muted{color:var(--muted)}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.loading-screen{justify-content:center;align-items:center;gap:14px;min-height:100dvh;display:flex}.loading-screen p{margin:0}.alert{border-radius:var(--radius);background:var(--error-bg);color:var(--error);border:1px solid #c28f85;align-items:flex-start;gap:12px;margin-bottom:14px;padding:16px 18px;font-size:14px;display:flex}.alert span{flex:1}.alert .icon-button{margin:-9px -10px -9px 0}.form-error{color:var(--error);margin:14px 0;font-size:14px}.live-notice{color:var(--green);align-items:center;gap:8px;margin-bottom:12px;font-size:14px;display:flex}.live-notice:empty{display:none}.skip-link{z-index:100;background:#fff;padding:12px;position:fixed;top:-100px;left:12px}.skip-link:focus{top:12px}.login-page{background:linear-gradient(90deg, #f6eeeb 0, #f6eeeb 52%, var(--canvas) 52%);flex-direction:column;min-height:100dvh;display:flex}.login-brand{align-items:center;gap:26px;width:100%;max-width:1280px;margin:auto;padding:40px 52px;display:flex}.login-brand img{object-fit:contain;width:220px;height:auto}.login-brand>span{color:var(--wine);border-left:1px solid #cbb5ad;padding-left:26px;font-size:18px;font-weight:600}.login-layout{flex:1;grid-template-columns:1fr 430px;align-items:center;gap:120px;width:100%;max-width:1160px;margin:auto;padding:60px 40px 100px;display:grid}.document-mark{background:var(--wine);color:#f3e7e3;border-radius:12px;place-items:center;width:88px;height:88px;margin-bottom:30px;display:grid;box-shadow:8px 8px #dfc5bc}.login-intro h1{margin:0 0 24px;font-size:56px;line-height:1.1}.login-intro>p{max-width:380px;font-size:18px;line-height:1.7}.login-note{color:#62413a;align-items:center;gap:13px;max-width:365px;margin-top:40px;font-size:14px;display:flex}.login-card{border:1px solid var(--line);background:#fff;border-radius:12px;padding:34px;box-shadow:0 10px 36px #4b191508}.login-card h2{color:var(--wine-dark);margin:0 0 9px;font-size:23px}.login-card>p{margin-bottom:26px;font-size:14px}.login-card input{margin-bottom:20px}.login-card .primary{margin-top:7px}.login-card .access-note{border-top:1px solid var(--line);color:var(--muted);margin:26px 0 0;padding-top:22px;font-size:13px}.login-footer{width:100%;max-width:1280px;color:var(--wine);justify-content:space-between;margin:auto;padding:20px 52px;font-size:12px;font-weight:600;display:flex}.login-footer span{color:var(--muted);font-weight:400}.app-header{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;height:86px;padding:0 36px;display:flex}.brand-lockup{align-items:center;gap:24px;display:flex}.brand-lockup img{width:168px;height:auto}.brand-divider{background:var(--line);width:1px;height:30px}.product-name{letter-spacing:-.5px;color:var(--wine);font-size:21px;font-weight:600}.account{color:var(--muted);align-items:center;gap:17px;font-size:13px;display:flex}.account>span{text-overflow:ellipsis;max-width:240px;overflow:hidden}.workspace{grid-template-columns:208px 1fr;min-height:calc(100dvh - 86px);display:grid}.sidebar{border-right:1px solid var(--line);background:#f7f3f1;flex-direction:column;align-self:start;gap:8px;height:100dvh;padding:34px 16px 24px;display:flex;position:sticky;top:0;overflow-y:auto}.sidebar nav{gap:8px;display:grid}.sidebar nav button{text-align:left;color:#60504b;background:0 0;border:0;align-items:center;gap:14px;width:100%;min-height:52px;padding:15px 17px;font-size:15px;font-weight:600;display:flex}.sidebar nav button:hover{background:#eee3de}.sidebar nav button[aria-current]{color:var(--wine);box-shadow:inset 3px 0 0 var(--wine);background:#eadbd5}.main-content{flex-direction:column;width:100%;min-width:0;max-width:1600px;margin:0 auto;padding:38px 44px 0;display:flex}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px;display:flex}.page-heading p{margin:0;font-size:15px}.page-heading .secondary{white-space:nowrap}.shared-disclosure{border-left:3px solid var(--wine);color:#584c46;background:#f7f2ef;align-items:flex-start;gap:8px;max-width:720px;margin:-12px 0 24px;padding:10px 13px;font-size:13px;line-height:1.55;display:flex}.shared-disclosure svg{flex:none;margin-top:1px}.compose-grid{grid-template-columns:minmax(0,1fr) 304px;align-items:start;gap:30px;display:grid}.composition{min-width:0}.dropzone{text-align:center;background:#fff;border:1.5px dashed #baa49a;border-radius:10px;padding:30px 20px;transition:background .15s,border .15s}.dropzone.over{border-color:var(--wine);background:#eee0d9}.upload-symbol{width:51px;height:51px;color:var(--wine);background:#f3e9e4;border-radius:50%;place-items:center;margin:0 auto 14px;display:grid}.dropzone h2{margin-bottom:8px;font-size:19px}.dropzone p{margin-bottom:19px;font-size:14px}.dropzone small{margin-top:15px;font-size:12px;display:block}.file-picker{cursor:pointer;margin-bottom:0;position:relative;overflow:hidden}.file-picker input{opacity:0;cursor:pointer;width:100%;height:100%;min-height:100%;padding:0;position:absolute;top:0;left:0}.file-picker:focus-within{outline-offset:4px;outline:3px solid #955c4f}.disabled{opacity:.5;cursor:not-allowed}.list-heading{justify-content:space-between;align-items:center;gap:12px;margin:27px 0 13px;display:flex}.list-heading h2{margin:0;font-size:16px}.list-heading h2 span{width:24px;height:24px;color:var(--wine);background:#eee4e0;border-radius:5px;justify-content:center;align-items:center;margin-left:7px;font-size:12px;display:inline-flex}.list-heading p{margin:0;font-size:12px}.file-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.file-row{border:1px solid var(--line);background:#fff;border-radius:8px;align-items:center;gap:9px;min-width:0;padding:12px 10px 12px 3px;display:flex;position:relative}.file-row.dragging{z-index:10;background:#f6e8e0;box-shadow:0 7px 20px #4b19152b}.file-row .grip{touch-action:none;cursor:grab;color:#a08b82;width:44px;min-width:44px}.position{color:var(--wine);min-width:21px;font-size:13px;font-weight:600}.file-symbol{width:43px;height:49px;color:var(--wine);background:#f6eeea;border:1px solid #eaded7;border-radius:5px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.file-row .file-symbol{display:none}.file-data{flex:1;min-width:0}.slot-label{background:0 0;border:1px solid #0000;border-radius:3px;min-height:32px;padding:3px 5px;font-size:14px;font-weight:600}.slot-label:hover,.slot-label:focus{background:#fdf8f5;border-color:#cfb7ac}.file-data p{overflow-wrap:anywhere;margin:3px 5px;font-size:12px;line-height:1.4}.filename small{color:var(--muted);margin-top:3px;font-size:11px;display:block}.file-actions{align-items:center;gap:1px;display:flex}.file-actions .small{min-height:44px;padding:9px 8px;font-size:12px}.file-actions .icon-button{width:35px;min-width:35px}.empty-list{border:1px solid var(--line);text-align:center;color:#947668;background:#faf7f5;border-radius:8px;padding:29px 20px}.empty-list p{margin:9px 0 0;font-size:13px}.empty-list .text-button{font-size:13px}.add-slot{margin:12px 0}.summary{border:1px solid var(--line);border-top:3px solid var(--wine);background:#fff;border-radius:8px;padding:24px}.summary>h2{color:var(--wine-dark);margin-bottom:9px;font-size:20px}.summary-intro{margin-bottom:23px;font-size:13px;line-height:1.6}.summary input{font-size:14px}.summary dl{margin:22px 0}.summary dl>div{justify-content:space-between;gap:12px;padding:9px 0;font-size:13px;display:flex}.summary dt{color:var(--muted)}.summary dd{white-space:nowrap;margin:0;font-weight:600}.generate{min-height:50px}.processing{margin:12px 0 0;font-size:12px}.template-save{border-top:1px solid var(--line);margin-top:25px;padding-top:22px}.template-save>svg{color:#946054;margin-bottom:10px}.template-save h3{font-size:14px}.template-save p{font-size:13px;line-height:1.6}.privacy-note{color:#71615a;align-items:flex-start;gap:7px;margin:22px 0 0;font-size:11px;line-height:1.6;display:flex}.privacy-note svg{margin-top:2px}.template-banner{color:var(--wine);background:#eee3de;border:1px solid #d9c6bc;border-radius:6px;align-items:center;gap:10px;margin-top:16px;padding:13px 16px;font-size:13px;display:flex}.result-box{background:var(--green-bg);color:var(--green);border:1px solid #a5c4ab;border-radius:7px;margin-top:18px;padding:18px 14px}.result-box>svg{margin-bottom:9px;display:block}.result-box strong{font-size:14px}.result-box p{color:var(--green);margin:6px 0 15px;font-size:13px}.templates-grid{grid-template-columns:1fr 1fr;align-items:start;gap:32px;display:grid}.saved-templates>h2{margin-bottom:20px}.template-card{border:1px solid var(--line);background:#fff;border-radius:8px;margin-bottom:16px;padding:24px}.template-card-title{color:var(--wine);align-items:center;gap:12px;display:flex}.template-card h3{overflow-wrap:anywhere;margin:0;font-size:18px}.template-card ol{color:var(--muted);margin:22px 0;padding-left:23px;font-size:14px}.template-card li{padding:4px 0}.template-card small{margin-bottom:18px;font-size:11px;display:block}.template-editor{border:1px solid var(--line);border-top:3px solid var(--wine);background:#fff;border-radius:8px;padding:26px}.template-editor>p{margin-bottom:24px;font-size:13px}.template-editor fieldset{border:0;min-width:0;margin:25px 0;padding:0}.template-editor legend{margin-bottom:12px;font-size:13px;font-weight:600}.slot-editor-list{gap:12px;margin:0 0 10px;padding:0;list-style:none;display:grid}.slot-editor-list li{align-items:center;gap:8px;display:flex}.slot-editor-list li>span{color:var(--wine);min-width:15px;font-size:12px;font-weight:600}.slot-editor-list input{min-width:0;font-size:14px}.slot-editor-actions{display:flex}.slot-editor-actions .icon-button{width:34px;min-width:34px;padding:8px}.empty-panel{border:1px solid var(--line);text-align:center;background:#fff;border-radius:8px;padding:55px 30px}.empty-panel>svg{color:var(--wine);margin-bottom:20px}.empty-panel p{max-width:400px;margin:0 auto 25px;font-size:14px;line-height:1.7}.empty-panel h2,.empty-panel h3{color:var(--wine-dark)}.history-list{border-top:1px solid var(--line);gap:0;display:grid}.history-row{border:0;border-bottom:1px solid var(--line);background:0 0;border-radius:0;align-items:flex-start;gap:16px;min-width:0;padding:16px 10px;display:flex}.history-row:hover{background:#faf7f5}.history-actions{align-items:flex-start;gap:8px;display:flex}.history-actions .icon-button{place-items:center;width:44px;min-width:44px;height:44px;display:grid}.history-actions .delete-icon{width:44px;min-width:44px;height:44px;color:var(--wine);border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:10px;place-items:center;display:grid}.history-actions .delete-icon:hover,.history-actions .delete-icon:focus-visible{outline-color:var(--wine);background:#f5eae4}.history-actions .delete-icon:disabled{opacity:.5;cursor:not-allowed}.history-row{position:relative}.history-info{flex:1;min-width:0}.history-info h2{text-overflow:ellipsis;white-space:nowrap;margin-bottom:8px;font-size:17px;overflow:hidden}.history-info p{margin-bottom:8px;font-size:13px}.history-info small{font-size:12px}.history-info details{overflow-wrap:anywhere;color:var(--muted);margin-top:12px;font-size:13px}summary{cursor:pointer;min-height:32px;color:var(--wine);width:fit-content}.history-info li{padding:4px 0}.history-row>.secondary{white-space:nowrap}.pagination{justify-content:center;align-items:center;gap:14px;margin:20px 0 30px;font-size:12px;display:flex}@media (min-width:1500px){.file-row .file-symbol{display:flex}.file-actions .icon-button{width:44px;min-width:44px}.compose-grid{grid-template-columns:minmax(0,1fr) 330px;gap:38px}.file-row{padding:17px 12px 17px 5px}.main-content{padding:48px 56px 0}}@media (max-width:1190px){.workspace{grid-template-columns:176px 1fr}.sidebar{padding-inline:10px}.sidebar nav button{gap:10px;padding-inline:13px}.main-content{padding:30px 26px 0}.compose-grid{grid-template-columns:minmax(0,1fr) 280px;gap:20px}.file-actions .file-picker span{display:none}.file-actions .icon-button{width:32px;min-width:32px}.file-row{gap:5px}.position{min-width:18px}.templates-grid{gap:20px}.slot-editor-list li{flex-wrap:wrap}.slot-editor-list input{width:calc(100% - 25px)}.slot-editor-actions{margin-left:auto}.login-layout{grid-template-columns:1fr 400px;gap:60px}}@media (max-width:950px){.compose-grid{grid-template-columns:1fr}.summary{grid-template-columns:1fr 1fr;gap:0 25px;display:grid}.summary>h2,.summary>.summary-intro{grid-column:1/-1}.summary>label,.summary>input,.summary>dl,.summary>.generate,.summary>.processing{grid-column:1}.summary>.template-save{border:0;border-left:1px solid var(--line);grid-area:3/2/8;margin:0;padding:0 0 0 25px}.summary>.privacy-note,.summary>.result-box{grid-column:1/-1}.templates-grid{grid-template-columns:1fr}.saved-templates{order:2}.template-editor{order:1}.file-actions .file-picker span{display:inline}.file-actions .icon-button{width:44px;min-width:44px}.login-layout{grid-template-columns:1fr 360px;gap:40px}.login-intro h1{font-size:46px}.login-card{padding:27px}.login-brand{padding:30px 40px}}@media (max-width:700px){h1{font-size:32px}.app-header{flex-wrap:wrap;gap:12px;height:auto;min-height:77px;padding:16px 20px}.brand-lockup{gap:14px}.brand-lockup img{width:135px}.brand-divider{height:23px}.product-name{font-size:19px}.account{gap:5px;margin-left:auto}.account>span{display:none}.account .quiet{padding:9px 8px}.workspace{flex-direction:column;min-height:calc(100dvh - 77px);display:flex}.sidebar{border-right:0;border-bottom:1px solid var(--line);z-index:20;background:#fff;height:auto;padding:0 15px;position:sticky;top:0;overflow-y:visible}.sidebar nav{justify-content:space-between;gap:5px;display:flex}.sidebar nav button{border-radius:0;flex-direction:column;flex:1;justify-content:center;gap:4px;width:auto;min-width:0;min-height:64px;padding:8px 3px;font-size:12px}.sidebar nav button[aria-current]{box-shadow:inset 0 -3px 0 var(--wine);background:0 0}.sidebar nav button svg{width:19px}.main-content{flex:1;padding:28px 20px 0}.page-heading{flex-direction:column;align-items:flex-start;gap:18px;margin-bottom:23px}.page-heading p{font-size:14px;line-height:1.6}.page-heading .secondary{min-height:44px}.dropzone{padding:25px 14px}.dropzone h2{font-size:18px}.dropzone p{max-width:250px;margin:0 auto 18px;font-size:13px}.dropzone small{font-size:11px}.list-heading{flex-direction:column;align-items:flex-start;gap:6px}.file-row{flex-wrap:wrap;gap:8px;padding:12px 10px 6px 4px}.file-data{flex:auto;width:calc(100% - 80px)}.file-actions{border-top:1px solid #f0e9e6;justify-content:flex-end;width:100%;margin:4px 0 0;padding-top:5px;padding-left:35px}.file-actions .file-picker{margin-right:auto;padding:9px 10px}.file-actions .file-picker span{display:inline}.file-actions .icon-button,.file-row .grip{width:44px;min-width:44px}.position{min-width:20px}.file-data p{font-size:12px}.summary{padding:23px;display:block}.summary>.template-save{border-left:0;border-top:1px solid var(--line);margin-top:25px;padding:22px 0 0}.summary>.privacy-note{font-size:12px}.summary-intro,.summary dl>div{font-size:14px}.summary>input{font-size:15px}.template-editor{padding:22px 18px}.slot-editor-list li{flex-wrap:wrap}.slot-editor-list input{width:calc(100% - 25px)}.slot-editor-actions{margin-left:auto}.slot-editor-actions .icon-button{width:44px;min-width:44px}.template-card{padding:22px}.template-card .actions .primary{flex:1}.history-row{flex-wrap:wrap;gap:13px;padding:20px}.history-row .file-symbol{width:36px;height:43px}.history-row>.secondary{width:100%;margin-top:5px}.history-info h2{font-size:17px}.history-info p{font-size:12px;line-height:1.7}.history-info li{font-size:12px}.history-info ol{padding-left:18px}.page-heading .actions{width:100%}.page-heading .actions .quiet{padding-inline:8px}.login-page{background:var(--canvas)}.login-brand{gap:18px;padding:28px 24px}.login-brand img{width:165px}.login-brand>span{padding-left:18px;font-size:16px}.login-layout{padding:18px 24px 45px;display:block}.login-intro{margin-bottom:32px}.document-mark{display:none}.login-intro h1{margin-bottom:18px;font-size:38px;line-height:1.15}.login-intro h1 br{display:none}.login-intro>p{max-width:400px;margin-bottom:0;font-size:15px}.login-note{display:none}.login-card{padding:27px 23px}.login-card h2{font-size:22px}.login-footer{padding:18px 24px}.alert{padding:14px;font-size:13px}.live-notice{font-size:13px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.admin-area{overflow-wrap:anywhere;max-width:900px}.admin-area h2{margin-top:28px}.admin-area p{margin:14px 0;line-height:1.6}.admin-area li{border-bottom:1px solid var(--line);padding:14px 0;line-height:1.6}.admin-area form{gap:12px;max-width:560px;display:grid}.admin-area input{border:1px solid #b8aaa7;border-radius:10px;width:100%;padding:14px}.history-filters{flex-wrap:wrap;align-items:end;gap:10px 12px;margin:18px 0 8px;display:flex}.history-filters>label{flex:170px;gap:5px;min-width:0;margin:0;font-size:13px;display:grid}.history-filters .history-title-filter{flex:2 250px}.history-filters .history-order-filter{flex:150px}.history-filters>.quiet{flex:none;min-height:44px}.history-filters input,.history-filters select{width:100%;min-height:44px;color:var(--text);font:inherit;background:#fff;border:1px solid #b8aaa7;border-radius:8px;padding:9px 11px}.history-period{flex:none;min-width:0;margin:0;position:relative}.history-period>summary{width:auto;min-height:44px;color:var(--text);background:#fff;border:1px solid #b8aaa7;border-radius:8px;justify-content:center;align-items:center;gap:7px;max-width:100%;padding:0 13px;font-size:13px;font-weight:600;list-style:none;display:flex;overflow:hidden}.history-period>summary::-webkit-details-marker{display:none}.history-period>summary:hover,.history-period>summary:focus-visible{border-color:var(--wine);outline-offset:2px;outline:2px solid #955c4f}.history-period[open]>summary{border-color:var(--wine);color:var(--wine)}.history-period-value{max-width:120px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:400;overflow:hidden}.history-period-popover{z-index:30;border:1px solid var(--line);background:#fff;border-radius:10px;grid-template-columns:1fr 1fr;gap:12px;width:min(340px,100vw - 40px);padding:15px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 12px 28px #30120f1c}.history-period-popover label{margin:0;font-size:12px}.history-period-popover input{min-width:0;padding-inline:8px}.history-feedback{min-height:24px;color:var(--muted);align-items:center;gap:7px;margin-bottom:4px;font-size:12px;display:flex}.history-feedback:empty{visibility:hidden}.history-retry{border-left:3px solid var(--error);background:var(--error-bg);color:var(--error);justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px;padding:10px 12px;font-size:13px;display:flex}.history-skeleton{gap:10px;display:grid}.history-skeleton-row{border-bottom:1px solid var(--line);background:0 0;align-items:flex-start;gap:16px;min-height:90px;padding:16px 10px;display:flex}.history-skeleton-row>span{background:#f1eae7;border-radius:6px;flex:0 0 38px;height:44px}.history-skeleton-row>div{flex:1;gap:9px;padding-top:2px;display:grid}.history-skeleton-row i{background:#f1eae7;border-radius:6px;width:min(70%,340px);height:10px;display:block}.history-skeleton-row i:first-child{width:min(48%,240px);height:16px}.history-skeleton-row b{background:#f1eae7;border-radius:8px;flex:0 0 42px;height:42px}.history-skeleton-row b:last-child{margin-left:-8px}.history-empty-filtered{padding-block:34px}@media (max-width:700px){.history-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-top:16px;display:grid}.history-filters .history-title-filter{grid-column:1/-1}.history-filters .history-order-filter{flex:initial}.history-period{justify-self:start}.history-period[open]{grid-column:1/-1;width:100%}.history-period[open]>summary{width:fit-content}.history-period[open] .history-period-popover{width:100%;max-width:100%;margin-top:8px;position:static}.history-row{gap:9px;padding:14px 4px}.history-row .file-symbol{width:36px;height:43px}.history-actions{margin-left:auto}.history-info h2{font-size:16px}}@media (max-width:420px){.history-period-popover{grid-template-columns:1fr}}.check-label{align-items:center;gap:10px;display:flex}:where(.tool-panel){max-width:1040px}.tool-dropzone{margin-bottom:22px}.tool-dropzone p{margin:8px 0 16px}.tool-panel .tool-file{overflow-wrap:anywhere;align-items:center;gap:8px;font-weight:600;display:flex}.tool-range,.tool-actions,.tool-convert-options{flex-wrap:wrap;align-items:center;gap:12px;margin:18px 0;display:flex}.tool-range label,.tool-convert-options label{font-weight:700}.tool-range input{flex:1;min-width:min(100%,250px)}.tool-convert-options select{min-width:210px}.tool-convert-options .tool-file,.tool-convert-options .muted{flex-basis:100%}.split-layout{grid-template-columns:minmax(220px,1fr) minmax(280px,1fr);gap:20px;margin:20px 0;display:grid}.page-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));align-content:start;gap:8px;max-height:480px;display:grid;overflow-y:auto}.page-tile{text-align:left;border:1px solid var(--line);border-radius:var(--radius);min-height:72px;color:var(--text);background:#fff;gap:5px;padding:10px;display:grid}.page-tile.selected{border-color:var(--wine);background:#f7ece9}.page-tile small{color:var(--muted)}.page-preview{border:1px solid var(--line);background:#fff;width:100%;height:480px}.tool-error{color:var(--error)}.tool-success{color:var(--green)}@media (max-width:760px){.split-layout{grid-template-columns:1fr}.page-preview{height:380px}}.floating-drop-control{align-items:center;gap:10px;display:flex}.floating-drop-control>button{white-space:nowrap}.floating-drop-automatic{cursor:pointer;max-width:196px;min-height:44px;color:var(--wine);align-items:center;gap:7px;font-size:12px;font-weight:600;line-height:1.25;display:flex}.floating-drop-automatic input{width:18px;height:18px;accent-color:var(--wine);flex:0 0 18px}@media (max-width:700px){.floating-drop-control{flex-wrap:wrap;gap:2px 8px}}.floating-drop-unavailable{max-width:190px;font-size:11px;line-height:1.2}
