:root{--font-sans:Arial,Helvetica,sans-serif}body{font-family:Arial,Helvetica,sans-serif}button,a,input,select,summary{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #588574;outline-offset:4px}.brand small{letter-spacing:.02em!important;font-size:11px}.brand strong{font-size:21px}.site-header-inner{max-width:1440px;gap:22px}.desktop-nav{gap:21px}.desktop-nav a{font-size:14px;white-space:nowrap}.language-switcher{gap:8px;flex-shrink:0}.header-profile{white-space:nowrap}.home-hero h1{font-size:clamp(38px,4.4vw,65px);line-height:1.12;letter-spacing:-2px}.home-hero h1 em{font-size:clamp(33px,3.6vw,53px);white-space:normal}.hero-proof{gap:20px}.hero-proof span{font-size:12px}.hero-proof b{margin-right:4px}.hero-source-card p span,.hero-pattern-card p span{font-size:11px}.hero-source-card p small,.hero-pattern-card p small{font-size:8px}.hero-arrow span{font-size:9px}.hero-visual{min-width:0}.brand-strip{flex-wrap:wrap}.site-footer .footer-links a{white-space:nowrap}.home-section h2,.home-cta h2{letter-spacing:-1.2px}.home-hero{padding-top:80px;padding-bottom:60px}.hero-actions .large{font-size:15px;padding:18px 22px}.section-heading p{max-width:720px}.feature-copy li{flex-wrap:wrap}.material-demo-row{grid-template-columns:28px 35px 1fr auto;gap:10px}.material-demo-row small{display:none}.tools-grid h3{font-size:23px}.workflow-grid h3{font-size:22px}@media(max-width:1150px){.desktop-nav{gap:14px}.header-profile em{display:none}.brand small{font-size:10px}.site-header-inner{gap:15px}.brand strong{font-size:19px}.home-hero{gap:26px}.hero-proof{gap:10px}.hero-proof span{font-size:11px}}@media(max-width:900px){.desktop-nav{display:none}.site-header-inner{justify-content:space-between}.mobile-nav{display:flex;overflow:auto;gap:18px;white-space:nowrap}.mobile-nav a{font-size:14px}.home-hero{grid-template-columns:1fr;padding-top:42px}.home-hero h1{font-size:45px}.home-hero h1 em{font-size:39px}.home-hero-copy{max-width:650px}.hero-visual{height:470px;max-width:620px;width:100%;margin:auto}.hero-proof span{font-size:12px}.hero-proof{gap:18px}.hero-actions{flex-wrap:wrap}.site-footer{gap:22px}}@media(max-width:500px){.home-hero h1{font-size:37px;letter-spacing:-1.4px}.home-hero h1 em{font-size:31px}.home-hero p{font-size:16px}.hero-visual{height:355px}.hero-source-card{width:42%}.hero-pattern-card{width:48%}.hero-proof{flex-wrap:wrap}.home-section h2,.home-cta h2{font-size:30px}}
:root{color-scheme:light;--orange:#d8783d;--ink:#2d2b27;--line:#e9e4da;--soft:#fcf8f0;--green:#557968}.app-main{max-width:1240px;margin:0 auto;padding:60px 36px 90px;min-height:65vh}.app-main.wide{max-width:1600px;padding:30px 24px 60px}.page-heading{margin-bottom:44px}.page-heading h1{font-size:clamp(30px,3.3vw,46px);line-height:1.16;font-weight:650;letter-spacing:-1.5px;margin:15px 0 18px}.page-heading p{font-size:17px;color:#74716a;line-height:1.75;max-width:950px}.panel{background:white;border:1px solid var(--line);border-radius:24px;padding:28px;box-shadow:0 10px 30px #68512a06}.panel h2{font-size:22px;font-weight:600;display:flex;align-items:center;gap:10px;margin:0 0 26px}.panel h2 em{margin-left:auto;font-size:13px;background:var(--soft);color:#b2754d;font-style:normal;border-radius:6px;padding:7px;white-space:nowrap}.step-number{font-size:12px;background:#f6dfcb;color:#a16946;border-radius:9px;display:inline-grid;place-items:center;min-width:29px;height:29px}.create-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.upload-zone{min-height:415px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #d7cebe;background:#fcf9f2;border-radius:20px;gap:16px;position:relative;overflow:hidden;cursor:pointer}.upload-zone.dragover{border-color:var(--orange);background:#f6e4d3}.upload-zone h3{font-size:23px;margin-top:6px}.upload-zone p{font-size:14px;color:#76716a;text-align:center;padding:0 12px}.upload-zone small{font-size:12px;color:#898277}.big-mark{width:64px!important;height:64px!important;gap:5px!important;margin-bottom:10px}.upload-zone>img{max-width:100%;max-height:430px;object-fit:contain}.image-actions{display:flex;gap:10px;position:absolute;bottom:15px}.image-actions button{padding:9px 14px}.privacy-note{background:#f8faf6;border-radius:12px;margin-top:20px;padding:16px;display:grid;gap:7px;color:#637263;font-size:13px;line-height:1.6}.privacy-note b{font-size:14px}.mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:17px}.mode{border:1px solid var(--line);border-radius:12px;padding:12px;text-align:left;line-height:1.4;background:white}.mode b{display:block;font-size:14px}.mode small{display:block;font-size:11px;color:#7c746b;margin-top:4px}.mode.active{border-color:var(--orange);box-shadow:inset 0 0 0 1px var(--orange);background:#fff9f3}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}label{font-size:14px;font-weight:550;display:block}input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{background:white;color:#32312c;border:1px solid #e3dfd5;border-radius:10px;padding:12px;width:100%;font:inherit;box-sizing:border-box;margin-top:7px}select{font-size:13px}input[type=range]{width:100%;accent-color:var(--orange)}input[type=checkbox],input[type=radio]{accent-color:var(--green);width:16px;height:16px;flex-shrink:0}.panel fieldset{border:1px solid var(--line);background:#fdfaf5;border-radius:14px;padding:16px 14px;margin:16px 0}.panel legend{font-size:14px;font-weight:600;padding:0 4px}.preset-row{display:flex;gap:7px;margin-bottom:13px}.preset-row button{flex:1;border:1px solid var(--line);border-radius:8px;background:white;padding:9px 3px;font-size:12px}.preset-row button.active{color:#bc7549;border-color:#d99063;background:#f5e2d0}.range-field{display:grid;grid-template-columns:75px 1fr 33px;align-items:center;gap:12px;font-size:13px;margin:16px 0}.range-field output{text-align:right;font-weight:bold}.check-field{display:flex;align-items:center;gap:8px;font-weight:400;margin:12px 0}.measure{font-size:13px;color:#897e6f;margin:12px 0 0}.shape-row{display:flex;gap:12px;flex-wrap:wrap}.shape-row label{font-size:12px;display:flex;gap:4px;align-items:center}.generate-button{width:100%;margin-top:8px;justify-content:center;min-height:54px}button:disabled{opacity:.5;cursor:not-allowed}.editor-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:26px}.editor-heading h1{font-size:30px;letter-spacing:-1px;margin-top:8px}.button-row{display:flex;gap:8px;align-items:center}.editor-layout{display:grid;grid-template-columns:235px minmax(300px,1fr) 220px;gap:16px;align-items:start}.editor-sidebar,.materials-sidebar{padding:18px;border-radius:16px}.editor-sidebar h3,.materials-sidebar h3{font-size:15px;margin:6px 0 16px}.editor-sidebar h3 small{font-size:12px;font-weight:400;color:#897969}.tool-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-bottom:12px}.tool-grid button{border:1px solid var(--line);border-radius:9px;background:#fff;padding:7px 1px;font-size:9px;text-align:center;overflow:hidden}.tool-grid button span{display:block;font-size:21px;height:27px}.tool-grid button.active{background:#f8e5d5;border-color:var(--orange);color:#b86530}.small-button{background:#fcfaf6;border:1px solid #e8e3db;padding:7px 9px;font-size:11px;border-radius:7px;white-space:nowrap}.editor-sidebar>.button-row{margin:10px 0 16px}.palette-search{font-size:13px!important}.selected-color{display:flex;align-items:center;gap:10px;margin:12px 0;font-size:13px}.selected-color i{width:27px;height:27px;border:1px solid #0001;border-radius:7px}.selected-color span{color:#8d8479;font-size:11px}.palette-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;max-height:290px;overflow-y:auto;padding:3px}.swatch{padding:3px;border:1px solid transparent;background:white;border-radius:5px}.swatch i{display:block;aspect-ratio:1;border:1px solid #0001;border-radius:4px;background:var(--swatch)}.swatch span{display:block;text-align:center;font-size:9px;line-height:1.5}.swatch.selected{border-color:#b26a3f;background:#fcf1e8}.layers-heading{display:flex;justify-content:space-between;align-items:center;margin:18px 0 8px}.layers-heading h3{margin:0}.layer{display:flex;align-items:center;border:1px solid var(--line);border-radius:8px;padding:5px;margin:5px 0;gap:3px}.layer.active{border-color:#ca9f82;background:#fbf1e7}.layer button{border:0;background:none;padding:3px;font-size:12px}.layer-name{flex:1;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.canvas-panel{border:1px solid var(--line);border-radius:16px;background:#f3f1ec;overflow:hidden;min-width:0}.canvas-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;background:white;border-bottom:1px solid var(--line);padding:12px}.view-tabs{display:flex;border:1px solid var(--line);border-radius:9px;padding:3px}.view-tabs button{border:0;background:none;font-size:12px;padding:7px 10px;border-radius:6px}.view-tabs button.active{background:#f4decd;color:#a15e34}.canvas-toolbar .check-field{font-size:12px;margin:0}.zoom-control{font-size:11px;display:flex;align-items:center;gap:5px}.zoom-control select{font-size:12px;margin:0;padding:6px;width:78px}.canvas-scroll{overflow:auto;max-height:700px;min-height:440px;padding:28px;display:flex;align-items:flex-start}.canvas-scroll canvas{image-rendering:pixelated;touch-action:none;flex-shrink:0;box-shadow:0 5px 18px #30261915;max-width:none}.canvas-status{border-top:1px solid var(--line);background:white;padding:12px;font-size:12px;color:#726b62}.canvas-help{padding:0 12px 12px;font-size:11px;background:white;color:#968a7b;line-height:1.5}.total-box{background:#fbf3e8;border-radius:12px;padding:18px;margin-bottom:15px}.total-box strong{font-size:32px;display:block;color:#b36e3f}.total-box span{display:block;color:#887769;font-size:13px;margin-top:4px}#materials{max-height:325px;overflow:auto;margin-bottom:24px}.material-line{display:flex;width:100%;padding:8px 0;align-items:center;gap:8px;background:none;border:0;border-bottom:1px solid #eee9e0;font-size:12px}.material-line i{width:22px;height:22px;border:1px solid #0001;border-radius:6px}.material-line span{margin-left:auto;color:#7b7267}.export-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin:12px 0}.export-grid button{padding:9px 6px;font-size:12px;justify-content:center}.muted{font-size:12px;line-height:1.7;color:#8b8176}.import-project{font-size:12px;margin-top:18px}.import-project input{font-size:10px!important;padding:5px!important}.bean-dialog{border:1px solid var(--line);border-radius:22px;padding:30px;max-width:min(760px,92vw);max-height:90vh;overflow:auto;box-shadow:0 25px 80px #32200b30;color:var(--ink);background:#fffefb;margin:auto}.bean-dialog::backdrop{background:#30281f66;backdrop-filter:blur(3px)}.bean-dialog h2{font-size:24px;margin:0 30px 18px 0}.bean-dialog p{line-height:1.7;color:#7f7367;margin:0 0 20px}.bean-dialog form{display:grid;gap:20px;min-width:280px}.dialog-close{position:absolute;right:15px;top:12px;border:0;background:transparent;font-size:27px;color:#988573}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px;flex-wrap:wrap}#crop-canvas{max-width:100%;touch-action:none;display:block;margin:auto}.sample-preview{display:block;max-width:100%;max-height:65vh;object-fit:contain;margin:auto}.search-row{display:flex;align-items:center;gap:12px;margin-bottom:25px}.search-row input{max-width:540px;margin:0!important}.category-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0 25px}.category-tabs button{background:#fff;border:1px solid var(--line);border-radius:999px;padding:10px 18px;font-size:14px}.category-tabs .active{background:#f8e6d8;color:#b96b39;border-color:#daae90}.result-count{font-size:13px;color:#8c7f71;margin:15px 0}.catalog-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.pattern-card{border:1px solid var(--line);background:#fff;border-radius:20px;text-align:left;overflow:hidden;transition:transform .2s,box-shadow .2s;display:block;width:100%;color:var(--ink)}.pattern-card:hover{transform:translateY(-4px);box-shadow:0 12px 25px #59402512}.pattern-image{aspect-ratio:1;background:#f8f4ec;position:relative;overflow:hidden;padding:15px;display:flex;align-items:center;justify-content:center}.pattern-image img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated}.pattern-image>span{position:absolute;bottom:10px;left:10px;background:#fffffff0;border-radius:6px;padding:5px 8px;font-size:10px;color:#92795f}.pattern-card-body{padding:18px}.pattern-card h3{font-size:18px;font-weight:600;margin:0 0 10px}.pattern-card p{font-size:12px;color:#947c65;margin:0}.pattern-card p span{float:right}.pattern-card small{font-size:10px;color:#9b8b7a;display:block;margin-top:9px}.empty-state{padding:65px 20px;text-align:center;min-height:300px;border:1px dashed #e2d7c6;border-radius:24px;background:#fdfaf4;display:flex;align-items:center;flex-direction:column;gap:18px}.empty-state h2{font-size:28px}.empty-state p{color:#8b7d6c;max-width:500px;line-height:1.8}.auth-layout{max-width:970px;margin:0 auto 20px;display:grid;grid-template-columns:45% 55%;border:1px solid var(--line);border-radius:26px;overflow:hidden;box-shadow:0 18px 42px #4630160c;background:#fff}.auth-art{background:#31574a;min-height:515px;overflow:hidden}.auth-art img{width:100%;height:100%;object-fit:cover}.auth-content{padding:40px 34px}.auth-content h1{font-size:30px;margin:14px 0 10px;font-weight:600;letter-spacing:-.7px}.auth-content>p{font-size:14px;color:#85786a;line-height:1.7}.auth-tabs{display:flex;background:#faf4e8;border-radius:12px;padding:4px;margin:27px 0 30px}.auth-tabs button{border:0;background:none;padding:12px 4px;width:50%;font-size:13px;color:#827462;border-radius:9px}.auth-tabs .active{background:white;color:#b57851;box-shadow:0 2px 7px #422a0d0a}.auth-content form{display:grid;gap:20px}.auth-content form>.primary-button{width:100%;justify-content:center}.auth-content input{padding:14px}.code-field{display:flex;gap:8px;align-items:center}.code-field input{min-width:0}.code-field button{font-size:11px;white-space:nowrap;padding:12px 10px;margin-top:7px}.form-error{color:#b34035;font-size:13px;line-height:1.7}.form-error:empty{display:none}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.guide-card h2{font-size:23px;margin:20px 0 16px;line-height:1.35}.guide-card p{font-size:15px;line-height:1.8;color:#8c7c6d;margin-bottom:20px}.guide-article{max-width:880px;margin:auto;padding:45px}.guide-article h1{font-size:36px;letter-spacing:-1px;line-height:1.25;margin:15px 0 30px}.guide-article p{font-size:17px;line-height:1.9;margin:18px 0}.guide-article .primary-button{margin-top:25px}.guide-swatches{display:grid;grid-template-columns:repeat(10,1fr);gap:8px;margin:20px 0}.guide-swatches span{font-size:10px;text-align:center}.guide-swatches i{display:block;aspect-ratio:1;border:1px solid #0001;border-radius:5px;margin-bottom:3px}.guide-article details{padding:16px 0;border-bottom:1px solid var(--line)}.guide-article summary{cursor:pointer;font-weight:600}.breadcrumbs{font-size:13px;color:#967f68;margin-bottom:25px}.work-detail{display:grid;grid-template-columns:1.35fr 1fr;gap:26px}.work-preview img{width:100%;max-height:620px;object-fit:contain}.work-info h1{font-size:32px;margin:15px 0;letter-spacing:-.5px}.work-info p{line-height:1.8;color:#8b7b69}.work-info>button{display:flex;justify-content:center;width:100%;margin:14px 0}.work-facts{display:flex;gap:26px;margin:26px 0}.work-facts span{font-size:23px;font-weight:600}.work-facts small{font-size:12px;display:block;font-weight:400;color:#96816b;margin-top:6px}.comments-section{margin-top:30px;max-width:900px}.comments-section textarea{min-height:110px;resize:vertical;margin-bottom:15px}.comment{border-top:1px solid var(--line);margin-top:20px;padding-top:20px}.comment time{float:right;font-size:11px;color:#a69380}.comment p{margin-top:10px;line-height:1.7;white-space:pre-wrap}.profile-panel{max-width:600px}.profile-panel form{display:grid;gap:20px;margin-bottom:25px}.assembly-intro{margin-bottom:25px}.assembly-intro p{margin:0 0 20px}.danger{color:#aa4c38!important}.text-button{border:0;background:transparent;font-size:13px;padding:10px}.primary-button,.secondary-button{cursor:pointer}.primary-button{background:var(--orange);color:white}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:1000;background:#3a5b4d;color:white;padding:15px 22px;border-radius:12px;font-size:14px;max-width:90vw;box-shadow:0 8px 25px #0002;transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}#toast.error{background:#a34b38}@media(min-width:901px){.home-hero h1{font-size:clamp(35px,3.9vw,58px)}.home-hero h1 em{font-size:clamp(32px,3.2vw,47px)}}@media(max-width:1100px){.editor-layout{grid-template-columns:195px minmax(270px,1fr)}.materials-sidebar{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:12px}.materials-sidebar #materials{grid-row:1/7;grid-column:2}.catalog-grid{grid-template-columns:repeat(3,1fr)}.editor-sidebar{padding:12px}.guide-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:750px){.app-main{padding:35px 18px 65px}.create-grid{grid-template-columns:1fr}.panel{padding:22px}.upload-zone{min-height:330px}.page-heading h1{font-size:34px}.page-heading{margin-bottom:28px}.editor-heading{align-items:flex-start;flex-direction:column}.editor-heading h1{font-size:27px}.editor-heading .button-row{width:100%;flex-wrap:wrap}.editor-heading button{font-size:12px;padding:12px}.editor-layout{grid-template-columns:1fr}.editor-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:12px}.editor-sidebar .tool-grid{grid-column:1/-1;grid-template-columns:repeat(8,1fr);grid-row:2}.editor-sidebar h3:first-child{grid-column:1/-1}.palette-grid{grid-template-columns:repeat(8,1fr);grid-column:1/-1;max-height:130px}.layers-heading,#layers{grid-column:1/-1}.canvas-scroll{min-height:350px;max-height:520px;padding:18px}.materials-sidebar{grid-column:auto}.catalog-grid{grid-template-columns:repeat(2,1fr);gap:12px}.pattern-card-body{padding:13px}.pattern-card h3{font-size:16px}.search-row{flex-wrap:wrap}.search-row input{flex:1;min-width:160px}.auth-layout{grid-template-columns:1fr}.auth-art{height:220px;min-height:0}.auth-content{padding:30px 24px}.auth-art img{object-position:center 40%}.guide-grid{grid-template-columns:1fr}.guide-article{padding:25px}.guide-article h1{font-size:29px}.guide-swatches{grid-template-columns:repeat(6,1fr)}.work-detail{grid-template-columns:1fr}.app-main.wide{padding:25px 12px}.bean-dialog{padding:25px}.bean-dialog form{min-width:0}.hero-visual{overflow:hidden}.hero-proof{justify-content:center}.material-demo-row{grid-template-columns:23px 25px 1fr auto}.home-cta .primary-button{font-size:13px}.home-hero h1 em{font-size:33px}}

.brand{flex-shrink:0}.brand strong{white-space:nowrap}.site-header-inner{gap:18px}.desktop-nav{gap:20px}.header-profile em{font-size:12px}@media(min-width:901px) and (max-width:1250px){.desktop-nav{gap:12px}.brand strong{font-size:18px}.brand small{font-size:9px}}

.assembly-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.assembly-grid .pattern-card-body h2{font-size:25px;margin:14px 0}.assembly-grid .text-link{display:block;margin-top:20px;font-size:13px}.assembly-detail{max-width:1080px;margin:auto}.assembly-detail h1{font-size:40px;margin:15px 0}.assembly-detail>.auth-tabs{max-width:430px;margin:22px auto}.assembly-frame{width:100%;height:610px;border:1px solid var(--line);border-radius:16px;display:block;margin-bottom:22px;background:#f7f5f0}.assembly-detail>.text-link{display:block;margin-top:25px}@media(max-width:750px){.assembly-grid{grid-template-columns:repeat(2,1fr);gap:14px}.assembly-frame{height:450px}.assembly-grid .pattern-card-body h2{font-size:19px}.assembly-grid .text-link{font-size:12px}}
/* Russian labels within the reference editor layout. */
.ru-editor input[type=file]{display:none}
.ru-editor .palette-list{display:block;max-height:none}
.ru-editor .palette-color-grid{gap:7px}
.ru-editor .palette-color b{font-size:10px}
.ru-editor .mobile-color-dock>span{display:flex;flex-direction:column;align-items:flex-start}
.ru-editor .manual-topbar .zoom-control{gap:6px}
.ru-editor .manual-topbar-actions .save{white-space:nowrap}
.ru-editor .manual-layer-toolbar label{display:flex;gap:10px;align-items:center}
.ru-editor .manual-layer-toolbar input[type=range]{width:140px}
.ru-editor .ru-selection{position:fixed;top:72px;left:50%;transform:translateX(-50%);z-index:70;background:#fff;border:1px solid #dae2eb;border-radius:14px;box-shadow:0 8px 24px #223d5720;padding:8px;display:flex;gap:6px}
.ru-selection[hidden]{display:none!important}
.ru-selection button{background:#f2f7fd;border:1px solid #dfe7f1;border-radius:6px;padding:6px;color:#294364;font-size:11px;cursor:pointer}
.ru-reference{position:fixed;right:24px;top:100px;width:280px;z-index:80;background:white;border-radius:15px;box-shadow:0 12px 45px #21364c44;overflow:hidden;resize:both;min-width:160px;min-height:140px}
.ru-reference header{display:flex;justify-content:space-between;align-items:center;cursor:move;padding:12px;background:#f1f6fb;font-size:12px;font-weight:700;touch-action:none}
.ru-reference img{display:block;max-width:100%;max-height:70vh;object-fit:contain;margin:auto}
.ru-reference button{border:0;background:transparent;cursor:pointer;font-size:20px}
.manual-config .library-grid button>span{display:flex;flex-direction:column;text-align:left}.manual-config .library-grid i{font-style:normal}
.manual-config .board-shape-grid button{display:flex;flex-direction:column;gap:5px;align-items:center}.manual-config .board-shape-grid b{font-size:12px}.manual-config .board-shape-grid small{font-size:10px}.ru-shape-icon{font-size:25px;line-height:32px}
@media(max-width:760px){.ru-editor .manual-topbar-actions button.save{font-size:0}.ru-editor .manual-topbar-actions button.save:after{content:'Сохранить';font-size:8px}.ru-editor .manual-topbar .zoom-control{left:44px;gap:4px}.ru-editor .palette-color b{font-size:8px}.ru-editor .ru-selection{top:95px;left:65px;right:8px;transform:none;flex-wrap:wrap}.ru-editor .manual-topbar-actions button.save{min-width:52px}.ru-reference{right:8px;width:210px}}
.messages-shell{display:grid;grid-template-columns:300px minmax(0,1fr);min-height:560px;max-height:75vh;background:white;border:1px solid var(--line);border-radius:20px;overflow:hidden}.message-thread{position:relative}.message-thread>header button{margin-left:auto}.work-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.profile-field{display:flex;flex-direction:column;gap:8px;margin-bottom:20px}.profile-field input{height:46px;padding:12px;border:1px solid var(--line);border-radius:10px}.message-reply{padding:15px;display:flex;gap:10px;align-items:center;border-top:1px solid var(--line)}.message-reply textarea{flex:1;min-width:0;resize:vertical;border:1px solid var(--line);border-radius:12px;padding:10px;min-height:68px}.message-reply button{flex:none}.admin-row{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:16px 0;border-bottom:1px solid var(--line)}.admin-row span{min-width:0;overflow-wrap:anywhere}.admin-row button{flex:none}.profile-links small{font-size:12px}.work-plaza-grid{margin-top:0}.work-plaza-hero p{font-size:14px}
@media(max-width:760px){.messages-shell{grid-template-columns:1fr;max-height:none}.messages-shell .message-thread{height:70vh}.message-reply{padding:10px;gap:6px}.message-reply button{padding:10px;font-size:12px}.admin-row{align-items:flex-start;flex-direction:column}}
.ru-attachment{cursor:pointer;font-size:12px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;width:100%;color:var(--muted)}.ru-attachment>span{padding:6px 9px;border:1px solid var(--line);border-radius:6px}.ru-attachment img{height:70px;width:70px;object-fit:cover;border-radius:8px}.ru-attachment button{border:0;background:transparent;color:#ae5538;cursor:pointer;font-size:20px}.message-reply{flex-wrap:wrap}.message-reply textarea{flex-basis:60%}.comment-image,.message-image{max-width:min(360px,100%);max-height:320px;object-fit:contain;border-radius:12px}.work-detail-copy h1{font-size:34px}.work-detail-image>small{display:block;color:var(--muted);font-size:11px;text-align:center;margin:14px}.comment-emoji-row button{border:1px solid var(--line);border-radius:7px;background:white;cursor:pointer;padding:5px}.work-card-author time{font-size:10px;color:var(--muted)}


.toyspace-palette{margin:0;padding:14px 16px;border:1px solid #cbdccf;border-radius:12px;background:#edf5ee;color:#3d6651;font-size:14px;font-weight:700}
