:root{--paper:#f7f5f0;--white:#fffefa;--ink:#332e2a;--muted:#877d73;--wine:#6c2634;--line:#e4dfd5;--beige:#ece5d9;--green:#41664a}*{box-sizing:border-box}body{margin:0;background:var(--paper);font:14px/1.6 Arial,Helvetica,sans-serif;color:var(--ink)}[hidden]{display:none!important}button,input,textarea,select{font:inherit}button,a,input,summary{touch-action:manipulation}button{cursor:pointer;border:0;background:none;color:inherit}a{color:inherit}button:disabled{opacity:.45;cursor:wait}button:focus-visible,a:focus-visible{outline:2px solid var(--wine);outline-offset:4px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Georgia,serif;font-weight:400}h1{font-size:54px;line-height:1.12;letter-spacing:-2px}h2{font-size:38px;line-height:1.15;letter-spacing:-1px;margin-bottom:15px}h3{font-size:24px;line-height:1.25;margin-bottom:12px}em{color:var(--wine);font-weight:400}.eyebrow{font-size:11px;letter-spacing:2px;margin:0 0 14px;color:var(--wine)}.muted,.hint{color:var(--muted)}.hint{font-size:13px;margin:6px 0 0;line-height:1.6}.brand{text-decoration:none;display:block;font:42px/.8 Georgia;color:#ad8e5b;letter-spacing:-2px;width:max-content}.brand>span{color:var(--wine);margin-left:22px;display:block}.brand small{font:7px Arial;letter-spacing:2px;color:var(--muted);display:block;margin:20px 0 0}.primary,.secondary,.danger,.small-button{padding:12px 18px;min-height:44px;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;font-size:14px;white-space:nowrap}.primary{background:var(--wine);color:white}.primary:hover{background:#501b27}.secondary{background:var(--white);border:1px solid var(--line)}.secondary:hover{border-color:#b4a393}.danger{color:#9e3341;border:1px solid #ead1d4}.small-button{padding:6px 11px;min-height:32px;background:var(--paper);border:1px solid var(--line);font-size:13px}.quiet-link{display:block;margin-top:24px;color:var(--muted);font-size:14px;text-decoration:none}.auth-screen{display:grid;grid-template-columns:1.15fr 1fr;min-height:100vh}.auth-art{background:var(--beige);padding:65px 70px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-art>div{margin-block:100px 60px;max-width:560px;z-index:1}.auth-art>div>p:last-child{max-width:320px;color:#756859;font-size:15px}.art-mark{position:absolute;font-size:350px;color:#b5997540;right:-60px;bottom:-150px}.auth-panel{display:flex;align-items:center;justify-content:center;padding:40px}.auth-panel form{width:100%;max-width:360px}.auth-panel .primary{width:100%;margin-top:12px}.auth-panel h2{font-size:43px}.form-error{color:#a12b3b;font-size:14px;white-space:pre-line}label{display:block;font-size:14px;font-weight:500;margin-bottom:18px}input:not([type=checkbox]):not([type=color]),textarea,select{width:100%;padding:12px 13px;display:block;margin-top:7px;border:1px solid var(--line);border-radius:5px;color:var(--ink);background:var(--white);font-size:15px;outline:none}input:focus,textarea:focus,select:focus{border-color:var(--wine);box-shadow:0 0 0 2px #6c263410}textarea{min-height:115px;resize:vertical;line-height:1.7}input[type=color]{width:44px;height:42px;padding:3px;border:1px solid var(--line);border-radius:4px;background:white}input[type=checkbox]{accent-color:var(--wine);width:16px;height:16px;margin:0;flex-shrink:0}.check{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:400}.sidebar{position:fixed;inset:0 auto 0 0;width:232px;background:var(--white);border-right:1px solid var(--line);padding:38px 23px 24px;display:flex;flex-direction:column;z-index:10}.sidebar .brand{margin-left:15px}.sidebar nav{display:flex;flex-direction:column;gap:5px;margin-top:55px}.sidebar nav button{display:flex;align-items:center;gap:11px;text-align:left;padding:12px;border-radius:5px;font-size:18px}.sidebar nav button span{font-size:14px}.sidebar nav button.active{background:#f0e8e3;color:var(--wine)}.sidebar nav b{font:10px Arial;margin-left:auto;color:var(--muted)}.sidebar-bottom{margin-top:auto;display:flex;flex-direction:column;gap:14px;padding:30px 12px 0;font-size:13px}.sidebar-bottom a{text-decoration:none;color:var(--muted)}.sidebar-bottom button{text-align:left;padding:13px 0 0;border-top:1px solid var(--line);font-size:13px}.sidebar-bottom #username{color:var(--muted)}.workspace{margin-left:232px;min-height:100vh}.topbar{min-height:99px;background:var(--white);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:20px 38px;gap:20px;position:sticky;top:0;z-index:9}.topbar .eyebrow{font-size:11px;margin-bottom:4px}.topbar #save-status{font-size:13px;color:var(--muted)}.topbar #save-status.dirty{color:#a86c22}.topbar-actions{display:flex;gap:9px}.topbar-actions button{font-size:13px;padding:11px 15px}#main{padding:38px;max-width:1550px;margin:auto;outline:none}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:28px}.page-heading p{margin-bottom:0;font-size:14px;color:var(--muted)}.page-heading h1{font-size:40px;letter-spacing:-1.5px;margin-bottom:10px}.page-heading .eyebrow{font-size:11px;margin-bottom:12px;color:var(--wine)}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:27px}.stat{background:var(--white);border:1px solid var(--line);padding:24px;border-radius:7px}.stat b{font:38px Georgia;display:block;margin-bottom:7px}.stat span{font-size:14px;color:var(--muted)}.welcome-banner{padding:40px;background:var(--beige);border-radius:8px;display:flex;justify-content:space-between;gap:30px;margin-bottom:30px}.welcome-banner p{max-width:450px;font-size:15px;color:#756859;margin-bottom:25px}.welcome-banner h2{font-size:38px}.welcome-banner .star{font-size:100px;color:#b49b77}.panel{background:var(--white);border:1px solid var(--line);border-radius:7px;padding:25px;margin-bottom:20px}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}.panel-title h3{margin:0;font-size:23px}.panel-title .hint{max-width:330px;text-align:right}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}.steps b{font-size:12px;color:var(--wine);letter-spacing:1px;display:block;margin-bottom:10px}.steps p{font-size:14px;color:var(--muted);margin:0}.toolbar{display:flex;gap:12px;align-items:center;margin-bottom:20px}.toolbar input{margin:0!important;max-width:400px}.toolbar select{margin:0;width:200px}.product-table{border:1px solid var(--line);border-radius:7px;background:var(--white);overflow:hidden}.table-head,.product-row{display:grid;grid-template-columns:minmax(230px,1fr) 150px 110px 125px 45px;align-items:center;gap:18px;padding:14px 22px}.table-head{background:#f1ede6;font-size:12px;text-transform:uppercase;letter-spacing:.8px;color:var(--muted)}.product-row{border-top:1px solid var(--line);font-size:14px;cursor:pointer}.product-row:hover{background:#faf7f2}.product-name{display:flex;align-items:center;gap:16px}.product-name img{width:53px;height:67px;object-fit:cover;border-radius:4px;background:var(--beige)}.product-name strong{display:block;font-size:15px;font-weight:500}.product-name small{font-size:12px;color:var(--muted);display:block;margin-top:4px}.tag{display:inline-block;font-size:12px;padding:4px 9px;border-radius:20px;width:max-content;background:#edf1e9;color:var(--green)}.tag.hidden{background:#eeeae4;color:var(--muted)}.tag.order{background:#f4ecde;color:#956e2e}.row-actions{font-size:18px}.empty{padding:65px 25px;text-align:center;color:var(--muted)}.empty h3{color:var(--ink)}.edit-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px;align-items:start}.edit-layout>div{min-width:0}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.span-2{grid-column:1/-1}.back{font-size:13px;padding:0;margin-bottom:17px;color:var(--muted)}.editor-footer{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-top:24px}.editor-footer>div{display:flex;gap:10px}.image-box{background:var(--paper);border:1px dashed #cfc4b5;border-radius:6px;padding:14px;text-align:center}.image-box img{display:block;width:100%;max-height:270px;object-fit:contain;border-radius:4px;margin-bottom:12px}.image-empty{padding:30px 0;color:var(--muted);font-size:14px}.upload-button{display:inline-flex;padding:10px 13px;background:var(--white);border:1px solid var(--line);border-radius:4px;cursor:pointer;font-size:13px;font-weight:400;margin:0}.upload-button input{display:none!important}.image-controls{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px}.gallery-thumb{position:relative}.gallery-thumb img{width:100%;height:90px;object-fit:cover;border-radius:4px}.gallery-thumb button{position:absolute;top:3px;right:3px;width:23px;height:23px;line-height:20px;border-radius:50%;background:#fff8;font-size:17px}.option-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.option-head h3{margin-bottom:0}.variant-row{display:grid;grid-template-columns:1fr 130px 34px;gap:10px;align-items:end;border-top:1px solid var(--line);padding:15px 0 0;margin-top:15px}.variant-row label{margin-bottom:0}.delete-row{font-size:22px;padding:5px;min-height:42px;color:#9b7778}.colors-row{border-top:1px solid var(--line);padding-top:17px;margin-top:17px}.color-fields{display:grid;grid-template-columns:44px 1fr 34px;gap:10px;align-items:end}.color-fields label{margin:0}.color-photo{display:flex;align-items:center;gap:12px;margin-top:13px}.color-photo img{width:60px;height:70px;object-fit:cover;border-radius:4px}.color-photo .hint{max-width:140px}.builder-list{display:flex;flex-direction:column;gap:12px}.builder-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:18px;background:var(--white);padding:20px;border:1px solid var(--line);border-radius:6px}.builder-icon{width:42px;height:42px;background:var(--beige);border-radius:5px;display:flex;align-items:center;justify-content:center;color:var(--wine);font-size:21px}.builder-row h3{font:17px Georgia;margin:0 0 4px}.builder-row small{font-size:12px;color:var(--muted)}.builder-actions{display:flex;gap:5px;align-items:center}.builder-actions button{min-height:34px;padding:5px 10px;font-size:13px;border:1px solid var(--line);border-radius:4px}.builder-actions .move{font-size:17px;padding:5px 8px}.builder-row.disabled{opacity:.6}.category-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:17px}.category-card{background:var(--white);border:1px solid var(--line);padding:24px;border-radius:7px}.category-card h3{margin:15px 0 6px}.category-card .muted{font-size:13px;margin-bottom:20px}.category-card>div:last-child{display:flex;justify-content:space-between;gap:10px}.category-form{max-width:580px}.notice{margin:22px 38px 0;padding:14px 18px;background:#fff1e6;border:1px solid #e1c39c;border-radius:5px;font-size:14px;white-space:pre-line}.notice.success{background:#eef4ea;border-color:#c7d9be}.admin-footer{padding:15px 38px 25px;font-size:12px;color:var(--muted);max-width:1550px;margin:auto}.admin-footer a{margin-left:10px}.toast{position:fixed;bottom:25px;left:calc(50% + 100px);transform:translate(-50%,20px);background:var(--ink);color:white;padding:13px 22px;border-radius:5px;opacity:0;pointer-events:none;transition:.2s;z-index:100;font-size:14px}.toast.visible{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid var(--line);border-radius:10px;max-width:440px;width:calc(100% - 32px);padding:30px;background:var(--white);color:var(--ink)}dialog::backdrop{background:#231b1760;backdrop-filter:blur(3px)}dialog h2{font-size:29px}dialog p{font-size:15px;color:var(--muted)}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.repeat-item{padding:20px;background:var(--paper);border:1px solid var(--line);border-radius:5px;margin-bottom:14px}.repeat-item .panel-title h3{font:15px Arial}.repeat-item textarea{min-height:80px}.repeat-item .image-box{max-width:240px}.repeat-item .image-box img{max-height:130px}.saved-note{padding:15px 20px;background:#f0ece5;border-radius:5px;font-size:13px;color:var(--muted);margin-bottom:20px}.guide{max-width:820px;margin:60px auto;padding:0 25px}.guide .brand{margin-bottom:50px}.guide h1{font-size:48px}.guide h2{font-size:29px;margin-top:35px}.guide p,.guide li{font-size:16px;line-height:1.9}.guide li{margin-bottom:8px}.guide .panel{padding:25px 30px}.guide code{background:#eae3d9;padding:3px 7px;border-radius:4px}.guide .primary{margin-top:25px}
@media(max-width:1150px){.sidebar{width:200px;padding-inline:15px}.workspace{margin-left:200px}.topbar{padding:18px 24px}.topbar-actions{gap:6px}.topbar-actions button{padding:10px;font-size:12px}#main{padding:28px 24px}.edit-layout{grid-template-columns:minmax(0,1fr) 260px;gap:15px}.table-head,.product-row{grid-template-columns:minmax(190px,1fr) 100px 85px 105px 25px;gap:10px;padding:13px 16px}.panel{padding:21px}.toast{left:calc(50% + 80px)}}@media(max-width:850px){.sidebar{position:static;width:100%;padding:18px 22px;border-right:0;border-bottom:1px solid var(--line);display:block}.sidebar .brand{font-size:28px;margin:0}.sidebar .brand small{display:none}.sidebar nav{margin-top:20px;flex-direction:row;overflow-x:auto;gap:5px}.sidebar nav button{padding:8px 11px;white-space:nowrap;font-size:17px}.sidebar nav button span{font-size:13px}.sidebar-bottom{padding:0;position:absolute;top:23px;right:22px;flex-direction:row;gap:14px}.sidebar-bottom>a:first-child,.sidebar-bottom>a:nth-child(2){display:none}.sidebar-bottom button{border:0;padding:0}.workspace{margin:0}.topbar{padding:15px 22px;min-height:85px;flex-wrap:wrap}.topbar-actions{margin-left:auto}.topbar #save-status{font-size:12px}.topbar .eyebrow{display:none}.table-head,.product-row{grid-template-columns:minmax(170px,1fr) 90px 100px 20px}.table-head>:nth-child(2),.product-row>.product-category{display:none}.edit-layout{grid-template-columns:minmax(0,1fr) 260px}.auth-art{padding:40px}.auth-art h1{font-size:40px}.auth-panel{padding:30px}.toast{left:50%}.steps{gap:20px}.welcome-banner{padding:30px}.welcome-banner .star{display:none}}@media(max-width:650px){.auth-screen{grid-template-columns:1fr}.auth-art{padding:30px;min-height:230px}.auth-art .brand{font-size:30px}.auth-art>div{margin:30px 0 0}.auth-art h1{font-size:31px;margin-bottom:0}.auth-art>div>.eyebrow,.auth-art>div>p:last-child{display:none}.auth-panel{padding:35px 28px}.auth-panel h2{font-size:35px}.art-mark{font-size:250px;bottom:-120px}.topbar{gap:10px;padding:12px 18px}.topbar>div:first-child{width:100%}.topbar-actions{width:100%;display:grid;grid-template-columns:1fr 1fr 1fr}.topbar-actions button{font-size:11px;padding:9px 5px;min-height:40px}.sidebar nav button{padding:8px}.sidebar nav button span{font-size:12px}.sidebar nav button b{display:none}#main{padding:25px 18px}.page-heading{align-items:flex-start;gap:15px}.page-heading h1{font-size:32px}.page-heading p{font-size:13px}.page-heading>.primary{font-size:12px;padding:10px 12px}.stats{gap:9px}.stat{padding:16px 11px}.stat b{font-size:29px}.stat span{font-size:12px}.welcome-banner{padding:25px}.welcome-banner h2{font-size:31px}.welcome-banner p{font-size:14px}.steps{grid-template-columns:1fr;gap:20px}.toolbar{flex-wrap:wrap}.toolbar input{max-width:none}.toolbar select{width:100%}.table-head{display:none}.product-row{grid-template-columns:1fr 80px 25px;gap:8px;padding:15px 12px}.product-row>.product-status{display:none}.product-name{gap:10px}.product-name img{width:45px;height:59px}.product-name strong{font-size:14px}.product-row .product-price{font-size:13px}.edit-layout{grid-template-columns:1fr}.edit-side{display:grid;grid-template-columns:1fr;order:-1}.edit-layout>.edit-main{order:1}.edit-side .image-box img{max-height:200px}.field-grid{grid-template-columns:1fr;gap:0}.span-2{grid-column:auto}.panel{padding:20px 17px}.panel-title{align-items:flex-start}.panel-title h3{font-size:22px}.panel-title .hint{font-size:12px}.variant-row{grid-template-columns:1fr 95px 28px}.builder-row{grid-template-columns:32px 1fr;gap:12px;padding:16px}.builder-icon{width:32px;height:36px}.builder-actions{grid-column:2;flex-wrap:wrap}.builder-actions button{font-size:12px}.builder-row h3{font-size:17px}.editor-footer{flex-wrap:wrap}.editor-footer>div{width:100%}.editor-footer>div .primary{flex:1}.admin-footer{padding:15px 18px 30px;line-height:1.8}.notice{margin:15px 18px 0}.guide{margin:35px auto}.guide h1{font-size:37px}.guide .panel{padding:22px}.saved-note{font-size:12px}.color-photo{flex-wrap:wrap}}

.builder-entry-actions{display:flex;gap:10px;flex-wrap:wrap}

.size-photo{grid-column:1/-1;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.size-photo img{width:70px;height:85px;object-fit:cover;border-radius:4px}.inventory-row{display:grid;grid-template-columns:1.2fr 1fr 100px 100px;gap:12px;padding:15px 0;border-bottom:1px solid var(--line)}.inventory-row input{width:100%;min-width:0}.inventory-row small{display:block}.order-admin-card{border:1px solid #dcd3c7;padding:24px;background:#fffdf8;margin:18px 0}.order-admin-card header{display:flex;justify-content:space-between;gap:20px}.order-admin-card table{width:100%;font-size:14px;border-collapse:collapse}.order-admin-card td{padding:12px 5px;border-bottom:1px solid #e9e0d2}.order-admin-card img{width:45px;height:60px;object-fit:cover}.order-status-form{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.order-status-form input,.order-status-form select{padding:10px;border:1px solid #dcd3c7}.order-admin-contact{white-space:pre-wrap;font-size:15px;line-height:1.9}.notification-status{font-size:13px;color:#84776d}@media(max-width:700px){.inventory-row{grid-template-columns:1fr 1fr}.order-admin-card{padding:15px}.order-admin-card header{flex-direction:column}}

.status-pending{background:#fff0cd!important;color:#79520b!important}.status-confirmed{background:#e0eee5!important;color:#285b3e!important}.status-processing{background:#ede4f5!important;color:#68428a!important}.status-ready{background:#dceeea!important;color:#256359!important}.status-shipped{background:#dfeaf8!important;color:#315c91!important}.status-completed{background:#dcebdd!important;color:#326338!important}.status-cancelled{background:#f5e1e1!important;color:#8c3e3e!important}.status-custom{background:#eee7dd!important;color:#65584e!important}

.order-disclosure{padding:0;overflow:hidden}.order-admin-summary{list-style:none;cursor:pointer;padding:22px 24px;display:flex;align-items:center;gap:20px}.order-admin-summary::-webkit-details-marker{display:none}.order-admin-summary header{display:flex;flex:1;min-width:0;justify-content:space-between;gap:20px;margin:0!important;border:0!important;padding:0!important}.order-admin-summary header h2{font-size:21px;margin:0 0 6px}.order-admin-summary header p{margin:0;font-size:13px}.order-admin-summary header b{font-size:17px}.order-expand-label{display:flex;align-items:center;gap:12px;color:#671f2b;font-size:12px;white-space:nowrap}.order-expand-icon{font-size:22px}.order-expand-open{display:none}.order-disclosure[open]>.order-admin-summary{background:#eee7dd;border-bottom:1px solid #dcd3c7}.order-disclosure[open]>.order-admin-summary .order-expand-closed{display:none}.order-disclosure[open]>.order-admin-summary .order-expand-open{display:inline}.order-disclosure[open]>.order-admin-summary .order-expand-icon{transform:rotate(45deg)}.order-admin-body{padding:24px}.admin-order-status{display:inline-block;border-radius:20px;padding:4px 10px;font-size:12px}.order-admin-summary:hover{background:#f2ebe2}.order-admin-summary:focus-visible{outline:2px solid #671f2b;outline-offset:-3px}.order-tracking-form{display:flex;flex-wrap:wrap;align-items:end;gap:15px;margin:20px 0}.order-tracking-form label{flex:1;min-width:140px}
@media(max-width:650px){.order-admin-summary{padding:18px 16px;gap:10px}.order-admin-summary header{flex-direction:column;gap:8px}.order-expand-label{font-size:11px}.order-admin-body{padding:18px 16px}}

