:root{--blue:#4c6f84;--dark:#3d5e73;--pale:#e3edf3;--light:#d5e4ec;--line:#b6ccd9;--ink:#294353;--muted:#637f90;--ground:#f8f7f2;font-family:Arial,sans-serif;color:var(--ink);background:var(--ground);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:9px 14px;color:var(--dark);background:white;border:1px solid var(--line);border-radius:10px;cursor:pointer;line-height:1.35}button:hover{background:#f0f5f8}button[aria-pressed=true]{background:var(--light);border-color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}button:disabled{opacity:.5;cursor:wait}button.primary{background:var(--blue);color:white;border-color:var(--blue)}button svg{width:19px;height:19px;flex:none}a{color:var(--dark)}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #7da9c4;outline-offset:3px}.icon{width:42px;height:42px;padding:9px;flex:none}.top{max-width:1240px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 28px}.brand{display:flex;align-items:center;gap:5px;text-decoration:none}.brand img:first-child{width:33px;height:33px}.brand img:last-child{width:102px;height:auto}.material-nav{display:flex;align-items:center;gap:10px}.header-actions{display:flex;gap:8px}.material-help-button{font:italic 700 25px/1 Georgia,serif}.back{font-size:13px;text-decoration:none;margin-right:12px}.action-bar{display:flex;justify-content:flex-end;gap:10px;padding:12px max(28px,calc((100vw - 1184px)/2));border-bottom:1px solid var(--line);min-height:68px}.action-bar button{min-width:148px}.action-bar .idea{min-width:84px;background:var(--pale);font-style:italic}main{max-width:1240px;margin:auto;padding:30px 28px 80px}.intro{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:22px}.eyebrow{font-size:10px;letter-spacing:1.5px;color:var(--muted);font-weight:bold;margin:0 0 10px}h1{font:700 38px Georgia,serif;margin:0 0 10px}.intro p:last-child{font-size:14px;color:var(--muted);margin:0;line-height:1.6}.intro-art>svg{width:88px;height:88px}.tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:10px;background:var(--pale);border:1px solid var(--line);border-radius:12px}.tools>button{font-size:12px;min-height:48px}.tools .generator-open{font-weight:bold;background:var(--light)}.spacer{flex:1}.file-action{height:48px;min-width:45px;display:grid;gap:2px;padding:5px;justify-items:center}.file-action span{font-size:9px}.file-action svg{width:18px;height:18px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:20px 0 10px}.section-head h2{font-size:14px;margin:0}.text-action{border:0;background:transparent;min-height:30px;padding:4px;font-size:11px;text-decoration:underline}.job-choices{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}.job-choices button{position:relative;flex-direction:column;padding:10px 6px;min-width:0;gap:8px}.job-choices button[aria-pressed=true]:after{content:'✓';position:absolute;top:6px;right:6px;background:var(--blue);color:white;border-radius:50%;width:17px;height:17px;font-size:11px}.job-choices svg{width:45px;height:45px}.job-choices strong{font-size:11px;min-height:28px}.job-choices small{font-size:9px;font-weight:normal;min-height:28px;line-height:1.5}.work-summary{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px;color:var(--muted);margin:20px 0 5px}.work-summary p{margin:0}#save-state{font-size:10px}.direct-hint{font-size:11px;line-height:1.6;color:var(--muted);margin:0 0 22px}.pages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:30px;padding:0 10px}.sheet{background:white;position:relative;box-shadow:0 4px 24px #304b5b19;border:1px solid #d5e4ec;width:100%;aspect-ratio:210/297}.sheet-svg{display:block;width:100%;height:100%}.mono .sheet-svg{filter:grayscale(1)}.sheet-controls{display:flex;gap:4px;position:absolute;right:4px;top:4px;z-index:1;opacity:.65}.sheet:hover .sheet-controls,.sheet:focus-within .sheet-controls{opacity:1}.sheet-controls button{width:29px;height:29px;min-height:29px;padding:5px;background:#fffffff0}.sheet-controls svg{width:16px;height:16px}.toast:empty{display:none}.toast{position:fixed;z-index:2147483000;bottom:18px;left:50%;transform:translateX(-50%);background:var(--dark);color:white;border-radius:10px;padding:13px 18px;box-shadow:0 4px 20px #0003;max-width:min(620px,calc(100vw - 24px));font-size:13px}.toast button{min-height:30px;padding:4px 10px;margin-left:10px}#empty{text-align:center;padding:45px;background:var(--pale);border-radius:12px}#empty h2{font-size:20px}dialog{border:1px solid var(--line);border-radius:18px;padding:0;max-width:calc(100vw - 24px);width:780px;color:var(--ink);box-shadow:0 15px 90px #172d3c40}dialog::backdrop{background:#263e4b6b}.modal-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;background:white;border-bottom:1px solid var(--line)}.modal-head h2{font-size:21px;margin:0}.close{border-radius:9px}#modal-body{padding:22px;max-height:calc(88vh - 78px);overflow:auto;overscroll-behavior:contain}h3{font-size:14px;margin:0 0 12px}.setting-group{border-bottom:1px solid #d5e4ec;padding-bottom:18px;margin-bottom:20px}.hint,.modal-intro{font-size:12px;color:var(--muted);line-height:1.65;margin:10px 0}.two,.three{display:grid;gap:8px}.two{grid-template-columns:repeat(2,1fr)}.three{grid-template-columns:repeat(3,1fr)}.three>button{padding:10px}.three small{display:block;font-size:10px;font-weight:normal}.size-preview{font-size:24px;color:#a1b7c5}.size-preview.small{font-size:15px}.size-preview.large{font-size:32px}.swatch{width:18px;height:18px;border:1px solid #869ca9;border-radius:50%;background:linear-gradient(90deg,white 50%,#555 50%)}.swatch.colour{background:linear-gradient(90deg,#9d2235 40%,white 40% 60%,#9d2235 60%)}.toggle{display:flex;justify-content:space-between;width:100%;margin:10px 0;padding:8px 12px;border-color:#d8e4eb;background:#f8fafb;font-size:12px;text-align:left}.switch{height:19px;width:34px;border-radius:20px;background:#afc2cd;position:relative;flex:none}.switch:after{content:'';display:block;position:absolute;top:3px;left:3px;background:white;border-radius:50%;width:13px;height:13px}.toggle[aria-pressed=true] .switch{background:var(--blue)}.toggle[aria-pressed=true] .switch:after{left:18px}.small-options{display:flex;gap:8px}.small-options button{min-width:48px}.text-label{display:grid;gap:8px;font-size:12px}.text-label input{width:100%;border:1px solid var(--line);padding:12px;border-radius:8px;color:var(--ink)}.modal-jobs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:22px}.modal-jobs button{text-align:left;justify-content:flex-start;gap:14px;min-height:76px}.modal-jobs svg{width:42px;height:42px}.modal-jobs strong{font-size:12px}.modal-jobs small{font-size:10px;display:block;margin-top:5px;color:var(--muted);font-weight:normal}.symbol-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.symbol-choices button{flex-direction:column;font-size:12px}.symbol-choices svg{width:58px;height:58px}.generate-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:20px 0 5px;padding-top:18px;border-top:1px solid var(--line);font-size:12px}.help-copy{font-size:14px;line-height:1.7}.help-copy p{margin:0 0 18px}#print-preview{width:1100px;height:93vh;max-height:95vh;overflow:hidden}#print-preview iframe{width:100%;height:calc(100% - 80px);border:0;background:#e7edf0}#print-frame{position:fixed;left:-10000px;top:0;width:1000px;height:1000px;border:0}.mo-ideas-balloon{width:min(420px,calc(100vw - 24px));padding:20px 22px;border-radius:14px;border:1px solid #c8bfa2;background:#fffdf4;color:#294353;box-shadow:0 10px 35px #20394b33;margin:0;max-height:calc(100vh - 24px);overflow:auto}.mo-ideas-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.mo-ideas-heading h2{font:italic 700 21px Georgia,serif;margin:0}.mo-ideas-heading button{width:36px;height:36px;min-height:36px;border-radius:50%;padding:8px;background:#edf3f6}.mo-ideas-balloon ol{padding-left:20px;margin-bottom:0}.mo-ideas-balloon li{font:italic 16px/1.7 Georgia,serif;margin:12px 0} [hidden]{display:none!important}
@media(max-width:1000px){.job-choices{grid-template-columns:repeat(4,1fr)}.pages{gap:20px;padding:0}.job-choices small{display:none}.job-choices strong{min-height:24px}.job-choices button{flex-direction:row;justify-content:flex-start;padding:8px}.job-choices svg{width:36px;height:36px}.job-choices strong{font-size:11px;text-align:left;padding-right:8px}.job-choices button[aria-pressed=true]:after{width:13px;height:13px;font-size:9px;top:4px;right:3px}}
@media(max-width:650px){.top{padding:12px;gap:12px;flex-wrap:wrap}.top>.material-nav{margin-left:auto}.material-nav{gap:4px}.header-actions{gap:7px}.back{margin-right:8px;font-size:12px;white-space:nowrap}.action-bar{padding:10px 12px;gap:7px;min-height:64px}.action-bar button{font-size:12px;min-width:0;flex:1;padding:9px}.action-bar .idea{min-width:64px;flex:0 0 64px}main{padding:22px 12px 75px}h1{font-size:31px}.intro{gap:12px;margin-bottom:18px}.intro p:last-child{font-size:12px}.intro-art>svg{width:56px;height:56px}.eyebrow{font-size:9px;letter-spacing:1px}.tools{padding:7px;gap:6px}.tools>button{min-height:43px;font-size:11px;padding:7px}.settings-open span{display:none}.tools .settings-open{width:38px}.tools .generator-open{flex:1}.tools .file-action{width:36px;min-width:36px;padding:4px}.tools .file-action span{font-size:8px}.spacer{display:none}.job-choices{grid-template-columns:repeat(2,1fr);gap:6px}.job-choices button{min-height:52px}.job-choices svg{width:34px;height:34px}.section-head{margin-top:17px}.work-summary{font-size:10px;align-items:flex-start;margin-top:15px}#save-state{font-size:9px;max-width:98px;text-align:right}.direct-hint{font-size:10px;margin-bottom:15px}.pages{grid-template-columns:1fr;gap:22px;padding:0 7px}.sheet-controls{top:4px;right:4px;opacity:1}.sheet-controls button{width:32px;height:32px;min-height:32px}.modal-head{padding:14px 16px;gap:12px}.modal-head h2{font-size:18px}.modal-head .close{width:36px;height:36px;min-height:36px}#modal-body{padding:18px 16px}.modal-jobs{gap:6px}.modal-jobs button{padding:9px;gap:8px}.modal-jobs svg{width:30px;height:30px}.modal-jobs small{display:none}.symbol-choices{gap:6px}.symbol-choices button{font-size:10px;padding:8px 4px}.symbol-choices svg{width:44px;height:44px}.generate-bottom{align-items:flex-start;font-size:11px}.generate-bottom button{font-size:11px;max-width:190px}.three>button{font-size:11px;padding:8px 5px}.mo-ideas-balloon{padding:16px 18px}.mo-ideas-balloon li{font-size:15px}}
@media print{@page{size:A4 portrait;margin:0}.top,.action-bar,main>*:not(.pages),.sheet-controls,dialog,aside{display:none!important}html,body,main,.pages{margin:0!important;padding:0!important;display:block!important;background:white}.sheet{width:210mm;height:296.8mm;border:0;box-shadow:none;break-after:page;page-break-after:always;overflow:hidden;margin:0}.sheet:last-child{break-after:auto;page-break-after:auto}.sheet-svg{width:100%;height:100%}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* Finished models stay visible beside each printable net. */
.page-item{width:100%;min-width:0}.page-item.landscape{grid-column:1/-1;max-width:1080px;justify-self:center}.sheet.landscape{aspect-ratio:297/210}.result-preview{display:flex;align-items:center;gap:16px;background:#eef4f7;border:1px solid #c6d8e3;border-radius:12px 12px 0 0;padding:9px 15px;margin:0 0 8px;min-height:90px}.result-preview .finished-art{width:145px;height:79px;flex:none}.result-preview strong{font-size:12px}.result-preview p{font-size:11px;color:var(--muted);line-height:1.6;margin:5px 0 0}.job-choices{grid-template-columns:repeat(4,minmax(0,1fr))}.job-choices button{flex-direction:row;text-align:left;justify-content:flex-start;min-height:72px;padding:10px 14px}.job-choices button small{display:none}.job-choices strong{min-height:0}.job-choices button>svg{width:42px;height:42px}
@media(max-width:650px){.result-preview{padding:7px 9px;gap:10px;min-height:79px}.result-preview .finished-art{width:120px;height:65px}.result-preview strong{font-size:10px}.result-preview p{font-size:9px}.job-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.job-choices button{min-height:55px;padding:8px}.job-choices button>svg{width:32px;height:32px}.page-item.landscape{grid-column:auto}}
@media print{.result-preview{display:none!important}.page-item{display:block!important;break-after:page;page-break-after:always;margin:0!important}.page-item:last-child{break-after:auto;page-break-after:auto}.sheet,.sheet.landscape{width:210mm!important;height:296.8mm!important;aspect-ratio:auto;break-after:auto;page-break-after:auto;position:relative}.sheet.landscape>.sheet-svg{position:absolute;left:0;top:0;width:297mm;height:210mm;transform-origin:0 0;transform:translateX(210mm) rotate(90deg)}}

.job-choices button[aria-pressed=true]:after{display:grid;place-items:center;line-height:1;top:7px;right:7px}

.flag-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.flag-choices button{flex-direction:column;font-size:12px;padding:10px;gap:8px}.flag-choices button>svg{width:100%;height:auto;max-width:150px;aspect-ratio:2}.flag-choices button>span{min-height:17px}@media(max-width:650px){.flag-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.flag-choices button{font-size:11px}}

/* Compact choices and one home for settings. */
.compact-options{display:flex;flex-wrap:wrap;gap:7px}.compact-options>button{min-height:38px;min-width:62px;padding:7px 12px;font-size:12px;flex-direction:column;gap:2px}.compact-options small{font-size:10px;font-weight:normal;color:var(--muted)}.compact-toggle{display:inline-flex;width:auto;max-width:100%;min-height:38px;gap:14px;margin:0;padding:7px 11px}.model-options,.inline-settings{display:flex;flex-wrap:wrap;align-items:center;gap:16px}.inline-settings{margin-bottom:18px}.inline-settings>div{display:flex;align-items:center;gap:9px}.option-label{font-size:12px}.setting-group{margin-bottom:18px;padding-bottom:18px}.settings-work-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.settings-work-grid button{flex-direction:column;gap:4px;padding:8px;min-width:0;font-size:11px}.settings-work-grid button>.finished-art{width:100%;height:66px}.job-setting-head{display:flex;align-items:center;gap:20px;margin-bottom:20px;background:#eef4f7;border-radius:10px;padding:12px}.job-setting-head>.finished-art{width:150px;height:82px;flex:none}.job-setting-head p{font-size:12px;line-height:1.6;margin:0}.symbol-choices{grid-template-columns:repeat(5,minmax(0,1fr))}.symbol-choices button{font-size:10px;padding:7px 5px;min-width:0;gap:5px}.symbol-choices svg{width:48px;height:48px}.job-choices button>.finished-art{width:83px;height:49px}.job-choices button{padding:9px 13px;gap:11px}.job-choices strong{font-size:11px;padding-right:8px}.tools .settings-open{font-weight:bold}.tools .settings-open span{display:inline}.tools .settings-open{width:auto}.symbol-choices button[aria-pressed=true]{background:#d5e4ec}.settings-work-grid button:hover{border-color:#4c6f84}
@media(max-width:650px){.compact-options{gap:6px}.compact-options>button{min-height:38px;font-size:11px;min-width:50px}.model-options{gap:10px}.settings-work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.symbol-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.job-setting-head{gap:10px;padding:9px}.job-setting-head>.finished-art{width:106px;height:65px}.job-setting-head p{font-size:11px}.job-choices button>.finished-art{width:60px;height:39px}.job-choices button{gap:5px;min-height:64px}.job-choices strong{font-size:10px}.tools .settings-open{font-size:11px}.settings-work-grid button>.finished-art{height:60px}}

.bunting-designs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.bunting-designs button{flex-direction:column;min-width:0;font-size:11px;gap:6px;padding:9px}.bunting-designs .pennant-art{width:66px;height:89px}.bunting-designs button>span{min-height:17px}@media(max-width:650px){.bunting-designs{grid-template-columns:repeat(2,minmax(0,1fr))}.bunting-designs .pennant-art{width:58px;height:78px}}

.quantity-row{display:flex;align-items:end;flex-wrap:wrap;gap:8px}.quantity-row label{display:flex;flex-direction:column;gap:5px;font-size:12px;max-width:100%}.quantity-row input{width:76px;min-height:36px;padding:6px 8px;border:1px solid #aac5d5;border-radius:7px;color:#3d5e73}.quantity-row .compact-options{margin:0;gap:4px}.quantity-row .compact-options button{min-width:36px;padding:7px 9px}.quantity-row>button{min-height:36px}.quantity-row>button[aria-pressed="true"]{background:#d5e4ec;border-color:#4c6f84;box-shadow:inset 0 0 0 1px #4c6f84}
